]> git.baikalelectronics.ru Git - kernel.git/commitdiff
trace/osnoise: Add migrate-disabled field to the osnoise header
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Fri, 15 Oct 2021 15:07:50 +0000 (17:07 +0200)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Oct 2021 03:02:36 +0000 (23:02 -0400)
Since "1735c786cd3c 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 osnoise header by adding the information about migrate disabled.

Link: https://lkml.kernel.org/r/9cb3d54e29e0588dbba12e81486bd8a09adcd8ca.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: 1735c786cd3c ("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>
kernel/trace/trace_osnoise.c

index c4f14fb98aaac5edf4a2a853eeae14b57a6ff39e..34f26c63244281b3fde793e516d91d4c628c9125 100644 (file)
@@ -294,19 +294,19 @@ static void print_osnoise_headers(struct seq_file *s)
        seq_puts(s, "#                                _-----=> irqs-off\n");
        seq_puts(s, "#                               / _----=> need-resched\n");
        seq_puts(s, "#                              | / _---=> hardirq/softirq\n");
-       seq_puts(s, "#                              || / _--=> preempt-depth     ");
-       seq_puts(s, "                       MAX\n");
-
-       seq_puts(s, "#                              || /                         ");
+       seq_puts(s, "#                              || / _--=> preempt-depth\n");
+       seq_puts(s, "#                              ||| / _-=> migrate-disable     ");
+       seq_puts(s, "                    MAX\n");
+       seq_puts(s, "#                              |||| /     delay               ");
        seq_puts(s, "                    SINGLE      Interference counters:\n");
 
-       seq_puts(s, "#                              ||||               RUNTIME   ");
+       seq_puts(s, "#                              |||||               RUNTIME   ");
        seq_puts(s, "   NOISE  %% OF CPU  NOISE    +-----------------------------+\n");
 
-       seq_puts(s, "#           TASK-PID      CPU# ||||   TIMESTAMP    IN US    ");
+       seq_puts(s, "#           TASK-PID      CPU# |||||   TIMESTAMP    IN US    ");
        seq_puts(s, "   IN US  AVAILABLE  IN US     HW    NMI    IRQ   SIRQ THREAD\n");
 
-       seq_puts(s, "#              | |         |   ||||      |           |      ");
+       seq_puts(s, "#              | |         |   |||||      |           |      ");
        seq_puts(s, "       |    |            |      |      |      |      |      |\n");
 }
 #endif /* CONFIG_PREEMPT_RT */