Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/trace: Specify exact priority for timerlat

The timerlat tracer documentation mentions that threads are created with
real-time priority, but does not mention which priority and scheduling
class is used.

Add the information so that users do not have to look it up in
trace_osnoise.c.

Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251010083338.478961-9-tglozar@redhat.com>

authored by

Tomas Glozar and committed by
Jonathan Corbet
b9f6a40d 122a552b

+6 -6
+6 -6
Documentation/trace/timerlat-tracer.rst
··· 43 43 <...>-868 [001] .... 54.030347: #2 context thread timer_latency 4351 ns 44 44 45 45 46 - The tracer creates a per-cpu kernel thread with real-time priority that 47 - prints two lines at every activation. The first is the *timer latency* 48 - observed at the *hardirq* context before the activation of the thread. 49 - The second is the *timer latency* observed by the thread. The ACTIVATION 50 - ID field serves to relate the *irq* execution to its respective *thread* 51 - execution. 46 + The tracer creates a per-cpu kernel thread with real-time priority 47 + SCHED_FIFO:95 that prints two lines at every activation. The first is 48 + the *timer latency* observed at the *hardirq* context before the activation 49 + of the thread. The second is the *timer latency* observed by the thread. 50 + The ACTIVATION ID field serves to relate the *irq* execution to its 51 + respective *thread* execution. 52 52 53 53 The *irq*/*thread* splitting is important to clarify in which context 54 54 the unexpected high value is coming from. The *irq* context can be