Skip to content

perf stat: Fix bperf cgroup counters

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf stat: Fix BPF program section nametools/perf/util/bpf_skel/bperf_cgroup.bpf.c+1 -10 replies
2/3perf stat: Fix cpu map index in bperf cgroup codetools/perf/util/bpf_counter_cgroup.c+2 -20 replies
3/3perf 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/3] perf stat: Fix bperf cgroup counters

Hello,

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

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

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

Thanks,
Namhyung

Namhyung Kim (3):
perf stat: Fix BPF program section name
perf stat: Fix cpu map index in bperf cgroup code 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          |  4 +-
 tools/perf/util/bpf_skel/bperf_cgroup.bpf.c   |  2 +-
 3 files changed, 86 insertions(+), 3 deletions(-)
 create mode 100755 tools/perf/tests/shell/stat_bpf_counters_cgrp.sh

base-commit: 715a6dea8483ff2035de766857f962ac198eb195

Signature · 1 line
2.37.2.789.g6183377224-goog