]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 18 Apr 2023 14:38:54 +0000 (16:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:37:05 +0000 (08:37 +0200)
commit8af3b8d770da43888d72dc9ffaf5a46bc579a00e
tree7d81796304e36ad3787203b3ad31cf840c07dd84
parent7b0c664541cd5e7d3cdc6c4d3ad5179cf5ea7bba
tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().

[ Upstream commit 2951580ba6adb082bb6b7154a5ecb24e7c1f7569 ]

The trace output for the HRTIMER_MODE_.*_HARD modes is seen as a number
since these modes are not decoded. The author was not aware of the fancy
decoding function which makes the life easier.

Extend decode_hrtimer_mode() with the additional HRTIMER_MODE_.*_HARD
modes.

Fixes: ae6683d815895 ("hrtimer: Introduce HARD expiry mode")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20230418143854.8vHWQKLM@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/trace/events/timer.h