linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] perf stat: Fix bperf cgroup counters
@ 2022-09-09 17:52 Namhyung Kim
  2022-09-09 17:52 ` [PATCH 1/3] perf stat: Fix BPF program section name Namhyung Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Namhyung Kim @ 2022-09-09 17:52 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Jiri Olsa
  Cc: Ingo Molnar, Peter Zijlstra, LKML, Ian Rogers, Adrian Hunter,
	linux-perf-users, Song Liu, bpf

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
-- 
2.37.2.789.g6183377224-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-09 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-09 17:52 [PATCH 0/3] perf stat: Fix bperf cgroup counters Namhyung Kim
2022-09-09 17:52 ` [PATCH 1/3] perf stat: Fix BPF program section name Namhyung Kim
2022-09-09 17:52 ` [PATCH 2/3] perf stat: Fix cpu map index in bperf cgroup code Namhyung Kim
2022-09-09 17:52 ` [PATCH 3/3] perf test: Add a new test for perf stat cgroup BPF counter Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).