]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf tools: Skip BPF sideband event for userspace profiling
authorNamhyung Kim <namhyung@kernel.org>
Wed, 26 Feb 2025 20:30:39 +0000 (12:30 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Sun, 2 Mar 2025 17:47:24 +0000 (09:47 -0800)
commit7788ad59d1d9617792037a83513be5b1dd14150f
tree6cd3ba57755085daa202b32e6a15f3b625a2ecc9
parent7e55bc0110bbb8a6f5419a178168d5df1c1fc00a
perf tools: Skip BPF sideband event for userspace profiling

The BPF sideband information is tracked using a separate thread and
evlist.  But it's only useful for profiling kernel and we can skip it
when users profile their application only.

It seems it already fails to open the sideband event in that case.
Let's remove the noise in the verbose output anyway.

Reviewed-by: Ian Rogers <irogers@google.com>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20250226203039.1099131-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h