diff options
author | Ian Rogers <irogers@google.com> | 2024-02-21 04:41:48 +0100 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-02-22 18:11:03 +0100 |
commit | 510e528786395e419e9a827ee5d42add021111ee (patch) | |
tree | fc56ace04bc41d3b85ffe7f9f83d918aefe4c5af /crypto/ecrdsa_defs.h | |
parent | perf list: fix short description for some cache events (diff) | |
download | linux-510e528786395e419e9a827ee5d42add021111ee.tar.xz linux-510e528786395e419e9a827ee5d42add021111ee.zip |
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 <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: llvm@lists.linux.dev
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240221034155.1500118-2-irogers@google.com
Diffstat (limited to 'crypto/ecrdsa_defs.h')
0 files changed, 0 insertions, 0 deletions