]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hrtimers: Add missing hrtimer_init() trace points
authorNam Cao <namcao@linutronix.de>
Thu, 31 Oct 2024 15:14:15 +0000 (16:14 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 7 Nov 2024 01:47:04 +0000 (02:47 +0100)
commitfbf920f255315974808ce91d934fe50198294d51
tree23fac4a5fc970e94aee9eb34f26ff217354d445b
parent2634303f8773b0c602069887565cd412440be15d
hrtimers: Add missing hrtimer_init() trace points

hrtimer_init*_on_stack() is not covered by tracing when
CONFIG_DEBUG_OBJECTS_TIMERS=y.

Rework the functions similar to hrtimer_init() and hrtimer_init_sleeper()
so that the hrtimer_init() tracepoint is unconditionally available.

The rework makes hrtimer_init_sleeper() unused. Delete it.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/74528e8abf2bb96e8bee85ffacbf14e15cf89f0d.1730386209.git.namcao@linutronix.de
include/linux/hrtimer.h
kernel/time/hrtimer.c