From: Namhyung Kim <namhyung@kernel.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>, Jiri Olsa <jolsa@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
linux-perf-users@vger.kernel.org,
Song Liu <songliubraving@fb.com>,
bpf@vger.kernel.org
Subject: [PATCH 0/4] perf stat: Fix bperf cgroup counters (v2)
Date: Fri, 16 Sep 2022 11:41:28 -0700 [thread overview]
Message-ID: <20220916184132.1161506-1-namhyung@kernel.org> (raw)
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
--
2.37.3.968.ga6b4b080e4-goog
next reply other threads:[~2022-09-16 18:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-16 18:41 Namhyung Kim [this message]
2022-09-16 18:41 ` [PATCH 1/4] perf stat: Fix BPF program section name Namhyung Kim
2022-09-16 18:41 ` [PATCH 2/4] perf stat: Fix cpu map index in bperf cgroup code Namhyung Kim
2022-09-16 18:41 ` [PATCH 3/4] perf stat: Use evsel->core.cpus to iterate cpus in BPF cgroup counters Namhyung Kim
2022-09-16 18:41 ` [PATCH 4/4] perf test: Add a new test for perf stat cgroup BPF counter Namhyung Kim
2022-09-20 19:53 ` [PATCH 0/4] perf stat: Fix bperf cgroup counters (v2) Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220916184132.1161506-1-namhyung@kernel.org \
--to=namhyung@kernel.org \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=bpf@vger.kernel.org \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=songliubraving@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).