diff options
author | Ian Rogers <[email protected]> | 2024-02-20 19:41:48 -0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-02-22 09:11:03 -0800 |
commit | 510e528786395e419e9a827ee5d42add021111ee (patch) | |
tree | fc56ace04bc41d3b85ffe7f9f83d918aefe4c5af /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
parent | b6968f9b5035e8e5a74a83209853f274345c74a2 (diff) |
perf thread_map: Skip exited threads when scanning /proc
Scanning /proc is inherently racy. Scanning /proc/pid/task within that
is also racy as the pid can terminate. Rather than failing in
__thread_map__new_all_cpus, skip pids for such failures.
Signed-off-by: Ian Rogers <[email protected]>
Cc: James Clark <[email protected]>
Cc: Justin Stitt <[email protected]>
Cc: Bill Wendling <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Yang Jihong <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Athira Jajeev <[email protected]>
Cc: [email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions