mbox series

[0/3] perf stat: Fix bperf cgroup counters

Message ID 20220909175239.206268-1-namhyung@kernel.org (mailing list archive)
Headers show
Series perf stat: Fix bperf cgroup counters | expand

Message

Namhyung Kim Sept. 9, 2022, 5:52 p.m. UTC
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