diff options
author | Ian Rogers <irogers@google.com> | 2025-06-04 10:45:42 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-09 11:18:18 -0700 |
commit | 278538ddf1af9f7a7fc0a983a23771083feda7f9 (patch) | |
tree | c625ccea080ceeac789bcbe12b16a024d4b6f911 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bf1976dd28b4ec611d4f0bf5b0de40b1dd21b253 (diff) |
perf bench evlist-open-close: Switch user option to use BPF filter
Finding user processes by scanning /proc is inherently racy and
results in perf_event_open failures. Use a BPF filter to drop samples
where the uid doesn't match.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250604174545.2853620-9-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions