aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/perf/threadmap.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-05-19 22:46:45 +0000
committerArnaldo Carvalho de Melo <[email protected]>2025-05-21 18:07:13 +0000
commit8f454c95817d15ee529d58389612ea4b34f5ffb3 (patch)
tree8ed9db2fc9223965dd2c1e6c490e0210b2a74e82 /tools/lib/perf/threadmap.c
parentperf rwsem: Add clang's -Wthread-safety annotations (diff)
downloadkernel-8f454c95817d15ee529d58389612ea4b34f5ffb3.tar.gz
kernel-8f454c95817d15ee529d58389612ea4b34f5ffb3.zip
perf thread: Ensure comm_lock held for comm_list
Add thread safety annotations for comm_list and add locking for two instances where the list is accessed without the lock held (in contradiction to ____thread__set_comm()). Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Athira Rajeev <[email protected]> Cc: Bill Wendling <[email protected]> Cc: Chaitanya S Prakash <[email protected]> Cc: Fei Lang <[email protected]> Cc: Howard Chu <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Justin Stitt <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephen Brennan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/perf/threadmap.c')
0 files changed, 0 insertions, 0 deletions