Commit aeafcb82 authored by Daniel Bristot de Oliveira's avatar Daniel Bristot de Oliveira Committed by Steven Rostedt (VMware)

trace/timerlat: Add migrate-disabled field to the timerlat header

Since "54357f0c 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: 54357f0c ("tracing: Add migrate-disabled counter to tracing output.")
Signed-off-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent e0f3b18b
...@@ -378,11 +378,12 @@ static void print_timerlat_headers(struct seq_file *s) ...@@ -378,11 +378,12 @@ static void print_timerlat_headers(struct seq_file *s)
seq_puts(s, "# / _----=> need-resched\n"); seq_puts(s, "# / _----=> need-resched\n");
seq_puts(s, "# | / _---=> hardirq/softirq\n"); seq_puts(s, "# | / _---=> hardirq/softirq\n");
seq_puts(s, "# || / _--=> preempt-depth\n"); seq_puts(s, "# || / _--=> preempt-depth\n");
seq_puts(s, "# || /\n"); seq_puts(s, "# ||| / _-=> migrate-disable\n");
seq_puts(s, "# |||| ACTIVATION\n"); seq_puts(s, "# |||| / delay\n");
seq_puts(s, "# TASK-PID CPU# |||| TIMESTAMP ID "); seq_puts(s, "# ||||| ACTIVATION\n");
seq_puts(s, "# TASK-PID CPU# ||||| TIMESTAMP ID ");
seq_puts(s, " CONTEXT LATENCY\n"); seq_puts(s, " CONTEXT LATENCY\n");
seq_puts(s, "# | | | |||| | | "); seq_puts(s, "# | | | ||||| | | ");
seq_puts(s, " | |\n"); seq_puts(s, " | |\n");
} }
#endif /* CONFIG_PREEMPT_RT */ #endif /* CONFIG_PREEMPT_RT */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment