]> git.ipfire.org Git - thirdparty/linux.git/commit
time/jiffies: Mark jiffies_64_to_clock_t() notrace
authorSteven Rostedt <rostedt@goodmis.org>
Sat, 7 Mar 2026 02:24:03 +0000 (21:24 -0500)
committerThomas Gleixner <tglx@kernel.org>
Wed, 11 Mar 2026 09:33:12 +0000 (10:33 +0100)
commit755a648e78f12574482d4698d877375793867fa1
tree03a7f2111309dd69d46a316d0dd769c64ab91877
parent1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
time/jiffies: Mark jiffies_64_to_clock_t() notrace

The trace_clock_jiffies() function that handles the "uptime" clock for
tracing calls jiffies_64_to_clock_t(). This causes the function tracer to
constantly recurse when the tracing clock is set to "uptime". Mark it
notrace to prevent unnecessary recursion when using the "uptime" clock.

Fixes: 58d4e21e50ff3 ("tracing: Fix wraparound problems in "uptime" trace clock")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260306212403.72270bb2@robin
kernel/time/time.c