aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2023-08-21 14:44:28 +0100
committerIngo Molnar <[email protected]>2023-09-15 10:33:29 +0200
commit4de7b17fd05d03fa919e8c47fc66122bd24d7b6c (patch)
treebc97f8b4e62134399d59729f17517b6dded55422 /tools/perf/scripts/python/stackcollapse.py
parent0e34600ac9317dbe5f0a7bfaa3d7187d757572ed (diff)
sched: Assert for_each_thread() is properly locked
list_for_each_entry_rcu() takes an optional fourth argument which allows RCU to assert that the correct lock is held. Several callers of for_each_thread() rely on their caller to be holding the appropriate lock, so this is a useful assertion to include. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Joel Fernandes (Google) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions