Em Fri, Sep 16, 2022 at 11:41:28AM -0700, Namhyung Kim escreveu: > 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 Thanks, applied. - Arnaldo > 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 > -- > 2.37.3.968.ga6b4b080e4-goog -- - Arnaldo