aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZqiang <[email protected]>2024-07-04 14:52:13 +0800
committerThomas Gleixner <[email protected]>2024-07-10 22:40:39 +0200
commit77aeb1b685f9db73d276bad4bb30d48505a6fd23 (patch)
treef6d5ca21c79814567579985009d532528d9bec49 /tools/perf/scripts/python/task-analyzer.py
parentfde78e4673afcb0bad382af8b81543476dc77655 (diff)
smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
For CONFIG_DEBUG_OBJECTS_WORK=y kernels sscs.work defined by INIT_WORK_ONSTACK() is initialized by debug_object_init_on_stack() for the debug check in __init_work() to work correctly. But this lacks the counterpart to remove the tracked object from debug objects again, which will cause a debug object warning once the stack is freed. Add the missing destroy_work_on_stack() invocation to cure that. [ tglx: Massaged changelog ] Signed-off-by: Zqiang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Paul E. McKenney <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions