Skip to content

perf stat: Fix bperf cgroup counters (v2)

Namhyung Kim bpf linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf stat: Fix BPF program section nametools/perf/util/bpf_skel/bperf_cgroup.bpf.c+1 -10 replies
2/4perf stat: Fix cpu map index in bperf cgroup codetools/perf/util/bpf_counter_cgroup.c+2 -20 replies
3/4perf stat: Use evsel->core.cpus to iterate cpus in BPF cgroup counterstools/perf/util/bpf_counter_cgroup.c+3 -30 replies
4/4perf test: Add a new test for perf stat cgroup BPF countertools/perf/tests/shell/stat_bpf_counters_cgrp.sh+83 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] perf stat: Fix bperf cgroup counters (v2)

Hello,

This fixes random failures in the perf stat cgroup BPF counters (bperf). I've also added a new test to ensure it working properly.

v2 changes)
* fix a segfault with uncore event

You can get it from 'perf/bperf-cgrp-fix-v2' branch in

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (4):
perf stat: Fix BPF program section name
perf stat: Fix cpu map index in bperf cgroup code
perf stat: Use evsel->core.cpus to iterate cpus in BPF cgroup counters perf test: Add a new test for perf stat cgroup BPF counter

 .../tests/shell/stat_bpf_counters_cgrp.sh     | 83 +++++++++++++++++++
 tools/perf/util/bpf_counter_cgroup.c          | 10 +--
 tools/perf/util/bpf_skel/bperf_cgroup.bpf.c   |  2 +-
 3 files changed, 89 insertions(+), 6 deletions(-)
 create mode 100755 tools/perf/tests/shell/stat_bpf_counters_cgrp.sh

base-commit: 62e64c9d2fd12839c02f1b3e8b873e7cb34e8720

Signature · 1 line
2.37.3.968.ga6b4b080e4-goog