summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-08-05 22:38:04 -0700
committerEric Biggers <ebiggers@kernel.org>2026-08-10 20:17:56 -0700
commitd1a5224851bec09c10b1ee0e1c46778a3d4accad (patch)
tree2ec9f7cf416b99fe60aa44b60375dac6f5931a5e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentfaa6c4c4e4ac69926564688a926105621295d613 (diff)
downloadlinux-d1a5224851bec09c10b1ee0e1c46778a3d4accad.tar.gz
linux-d1a5224851bec09c10b1ee0e1c46778a3d4accad.zip
kunit: irq: Unregister on-stack timer and work from debugobjects
In kunit_run_irq_test(), call destroy_hrtimer_on_stack() and destroy_work_on_stack() to unregister the hrtimer and work from the debugobjects infrastructure (when CONFIG_DEBUG_OBJECTS_TIMERS=y and CONFIG_DEBUG_OBJECTS_WORK=y) before the function returns. Found via code review; the lack of the unregistrations didn't actually cause a warning, since the objects are inactive upon return anyway. But they should be there, otherwise debugobjects keeps tracking the objects. Fixes: 950a81224e8b ("lib/crypto: tests: Add hash-test-template.h and gen-hash-testvecs.py") Reviewed-by: David Gow <david@davidgow.net> Link: https://patch.msgid.link/20260806053804.106724-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions