diff options
author | 2024-02-20 19:41:48 -0800 | |
---|---|---|
committer | 2024-02-22 09:11:03 -0800 | |
commit | 510e528786395e419e9a827ee5d42add021111ee (patch) | |
tree | fc56ace04bc41d3b85ffe7f9f83d918aefe4c5af /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf list: fix short description for some cache events (diff) | |
download | wireguard-linux-510e528786395e419e9a827ee5d42add021111ee.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions