diff options
author | Ian Rogers <irogers@google.com> | 2025-06-04 10:45:40 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-09 11:18:18 -0700 |
commit | 38f83cc9ab8f74732de66044d1a126ca46347eea (patch) | |
tree | 7fdc97a2defe7c5334e78c6c4c375390aecda101 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c54e2f82721aadd59d2a354ae2b5cc32d32047d9 (diff) |
perf top: 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-7-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