diff options
| author | Ian Rogers <irogers@google.com> | 2025-06-04 10:45:43 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-06-09 11:18:18 -0700 |
| commit | b4c658d4d63d6149f4ba57c9c5c84b8a61aafa6f (patch) | |
| tree | 4323cd297ecfa161a8cc7a4d43922612e95281c7 /tools/perf/tests/openat-syscall-tp-fields.c | |
| parent | perf bench evlist-open-close: Switch user option to use BPF filter (diff) | |
| download | linux-b4c658d4d63d6149f4ba57c9c5c84b8a61aafa6f.tar.gz linux-b4c658d4d63d6149f4ba57c9c5c84b8a61aafa6f.zip | |
perf target: Remove uid from target
Gathering threads with a uid by scanning /proc is inherently racy
leading to perf_event_open failures that quit perf. All users of the
functionality now use BPF filters, so remove uid and uid_str from
target.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250604174545.2853620-10-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/tests/openat-syscall-tp-fields.c')
| -rw-r--r-- | tools/perf/tests/openat-syscall-tp-fields.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/tests/openat-syscall-tp-fields.c b/tools/perf/tests/openat-syscall-tp-fields.c index 0ef4ba7c1571..2a139d2781a8 100644 --- a/tools/perf/tests/openat-syscall-tp-fields.c +++ b/tools/perf/tests/openat-syscall-tp-fields.c @@ -28,7 +28,6 @@ static int test__syscall_openat_tp_fields(struct test_suite *test __maybe_unused { struct record_opts opts = { .target = { - .uid = UINT_MAX, .uses_mmap = true, }, .no_buffering = true, |
