perf target: Remove uid from target
authorIan Rogers <irogers@google.com>
Wed, 4 Jun 2025 17:45:43 +0000 (10:45 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 9 Jun 2025 18:18:18 +0000 (11:18 -0700)
commitb4c658d4d63d6149f4ba57c9c5c84b8a61aafa6f
tree4323cd297ecfa161a8cc7a4d43922612e95281c7
parent278538ddf1af9f7a7fc0a983a23771083feda7f9
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>
13 files changed:
tools/perf/builtin-ftrace.c
tools/perf/builtin-kvm.c
tools/perf/builtin-stat.c
tools/perf/builtin-trace.c
tools/perf/tests/backward-ring-buffer.c
tools/perf/tests/event-times.c
tools/perf/tests/openat-syscall-tp-fields.c
tools/perf/tests/perf-record.c
tools/perf/tests/task-exit.c
tools/perf/util/bpf-filter.c
tools/perf/util/evlist.c
tools/perf/util/target.c
tools/perf/util/target.h