Commit ffe71327 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

ipipe: Fix output layout of tracer



A long time ago (probably in 2.6-times), someone converted spaces to
tabs, shuffling the layout around this way, and by forgetting to account
for the multi-domain removal.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent f54b518e
...@@ -842,7 +842,7 @@ __ipipe_print_delay(struct seq_file *m, struct ipipe_trace_point *point) ...@@ -842,7 +842,7 @@ __ipipe_print_delay(struct seq_file *m, struct ipipe_trace_point *point)
{ {
unsigned long delay = 0; unsigned long delay = 0;
int next; int next;
char *mark = " "; char *mark = " ";
next = WRAP_POINT_NO(point+1 - print_path->point); next = WRAP_POINT_NO(point+1 - print_path->point);
...@@ -916,12 +916,12 @@ static void __ipipe_print_headline(struct seq_file *m) ...@@ -916,12 +916,12 @@ static void __ipipe_print_headline(struct seq_file *m)
" +----- Hard IRQs ('|': locked)\n" " +----- Hard IRQs ('|': locked)\n"
" |+-- %s\n" " |+-- %s\n"
" ||+- %s%s\n" " ||+- %s%s\n"
" ||| +---------- " " ||| +---------- "
"Delay flag ('+': > %d us, '!': > %d us)\n" "Delay flag ('+': > %d us, '!': > %d us)\n"
" ||| | +- " " ||| | +- "
"NMI noise ('N')\n" "NMI noise ('N')\n"
" ||| | |\n" " ||| | |\n"
" Type User Val. Time Delay Function " " Type User Val. Time Delay Function "
"(Parent)\n", "(Parent)\n",
name[1], name[0], name[1], name[0],
" ('*': domain stalled, '+': current, " " ('*': domain stalled, '+': current, "
...@@ -930,9 +930,9 @@ static void __ipipe_print_headline(struct seq_file *m) ...@@ -930,9 +930,9 @@ static void __ipipe_print_headline(struct seq_file *m)
} else } else
seq_printf(m, seq_printf(m,
" +--------------- Hard IRQs ('|': locked)\n" " +--------------- Hard IRQs ('|': locked)\n"
" | +- Delay flag " " | +- Delay flag "
"('+': > %d us, '!': > %d us)\n" "('+': > %d us, '!': > %d us)\n"
" | |\n" " | |\n"
" Type Time Function (Parent)\n", " Type Time Function (Parent)\n",
IPIPE_DELAY_NOTE/1000, IPIPE_DELAY_WARN/1000); IPIPE_DELAY_NOTE/1000, IPIPE_DELAY_WARN/1000);
} }
......
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