History

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

Daniel Bristot de Oliveira committed 5 years ago

Commit aeafcb81 parent e0f3b181 file · +6 −5Browse files

Unified · Split

kernel/trace/trace_osnoise.c+6−5
@@ -378,11 +378,12 @@ static void print_timerlat_headers(struct seq_file *s) · 377 unmodified lines
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 */