Skip to content

Commit aeafcb8

Browse files
Daniel Bristot de Oliveirarostedt
authored andcommitted
trace/timerlat: Add migrate-disabled field to the timerlat header
Since "54357f0c9149 tracing: Add migrate-disabled counter to tracing output," the migrate disabled field is also printed in the !PREEMPR_RT kernel config. While this information was added to the vast majority of tracers, osnoise and timerlat were not updated (because they are new tracers). Fix timerlat header by adding the information about migrate disabled. Link: https://lkml.kernel.org/r/bc0c234ab49946cdd63effa6584e1d5e8662cb44.1634308385.git.bristot@kernel.org Cc: Daniel Bristot de Oliveira <bristot@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: x86@kernel.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Fixes: 54357f0 ("tracing: Add migrate-disabled counter to tracing output.") Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent e0f3b18 commit aeafcb8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎kernel/trace/trace_osnoise.c‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,12 @@ static void print_timerlat_headers(struct seq_file *s)
378378
seq_puts(s, "# / _----=> need-resched\n");
379379
seq_puts(s, "# | / _---=> hardirq/softirq\n");
380380
seq_puts(s, "# || / _--=> preempt-depth\n");
381-
seq_puts(s, "# || /\n");
382-
seq_puts(s, "# |||| ACTIVATION\n");
383-
seq_puts(s, "# TASK-PID CPU# |||| TIMESTAMP ID ");
384-
seq_puts(s, " CONTEXT LATENCY\n");
385-
seq_puts(s, "# | | | |||| | | ");
381+
seq_puts(s, "# ||| / _-=> migrate-disable\n");
382+
seq_puts(s, "# |||| / delay\n");
383+
seq_puts(s, "# ||||| ACTIVATION\n");
384+
seq_puts(s, "# TASK-PID CPU# ||||| TIMESTAMP ID ");
385+
seq_puts(s, " CONTEXT LATENCY\n");
386+
seq_puts(s, "# | | | ||||| | | ");
386387
seq_puts(s, " | |\n");
387388
}
388389
#endif /* CONFIG_PREEMPT_RT */

0 commit comments

Comments
 (0)