summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLi Huafei <lihuafei1@huawei.com>2024-10-21 22:30:04 +0300
committerIngo Molnar <mingo@kernel.org>2025-03-06 14:07:39 +0300
commit05763885e327f0e257ee8b96b30ac1b95f7dd532 (patch)
tree90d8530b5d4c8fa44ae11d88fa6386256243e951 /tools/perf/scripts/python/task-analyzer.py
parentd6834d9c990333bfa433bc1816e2417f268eebbe (diff)
downloadlinux-05763885e327f0e257ee8b96b30ac1b95f7dd532.tar.xz
watchdog/hardlockup/perf: Warn if watchdog_ev is leaked
When creating a new perf_event for the hardlockup watchdog, it should not happen that the old perf_event is not released. Introduce a WARN_ONCE() that should never trigger. [ mingo: Changed the type of the warning to WARN_ONCE(). ] Signed-off-by: Li Huafei <lihuafei1@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20241021193004.308303-2-lihuafei1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions