| From: Mike Galbraith <umgwanakikbuti@gmail.com> |
| Date: Sun, 16 Oct 2016 05:08:30 +0200 |
| Subject: [PATCH] ftrace: Fix trace header alignment |
| |
| Line up helper arrows to the right column. |
| |
| Cc: stable-rt@vger.kernel.org |
| Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com> |
| [bigeasy: fixup function tracer header] |
| Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
| --- |
| kernel/trace/trace.c | 32 ++++++++++++++++---------------- |
| 1 file changed, 16 insertions(+), 16 deletions(-) |
| |
| --- a/kernel/trace/trace.c |
| +++ b/kernel/trace/trace.c |
| @@ -3144,17 +3144,17 @@ get_total_entries(struct trace_buffer *b |
| |
| static void print_lat_help_header(struct seq_file *m) |
| { |
| - seq_puts(m, "# _--------=> CPU# \n" |
| - "# / _-------=> irqs-off \n" |
| - "# | / _------=> need-resched \n" |
| - "# || / _-----=> need-resched_lazy \n" |
| - "# ||| / _----=> hardirq/softirq \n" |
| - "# |||| / _---=> preempt-depth \n" |
| - "# ||||| / _--=> preempt-lazy-depth\n" |
| - "# |||||| / _-=> migrate-disable \n" |
| - "# ||||||| / delay \n" |
| - "# cmd pid |||||||| time | caller \n" |
| - "# \\ / |||||||| \\ | / \n"); |
| + seq_puts(m, "# _--------=> CPU# \n" |
| + "# / _-------=> irqs-off \n" |
| + "# | / _------=> need-resched \n" |
| + "# || / _-----=> need-resched_lazy \n" |
| + "# ||| / _----=> hardirq/softirq \n" |
| + "# |||| / _---=> preempt-depth \n" |
| + "# ||||| / _--=> preempt-lazy-depth\n" |
| + "# |||||| / _-=> migrate-disable \n" |
| + "# ||||||| / delay \n" |
| + "# cmd pid |||||||| time | caller \n" |
| + "# \\ / |||||||| \\ | / \n"); |
| } |
| |
| static void print_event_info(struct trace_buffer *buf, struct seq_file *m) |
| @@ -3183,11 +3183,11 @@ static void print_func_help_header_irq(s |
| "# |/ _-----=> need-resched_lazy\n" |
| "# || / _---=> hardirq/softirq\n" |
| "# ||| / _--=> preempt-depth\n" |
| - "# |||| /_--=> preempt-lazy-depth\n" |
| - "# ||||| _-=> migrate-disable \n" |
| - "# ||||| / delay\n" |
| - "# TASK-PID CPU# |||||| TIMESTAMP FUNCTION\n" |
| - "# | | | |||||| | |\n"); |
| + "# |||| / _-=> preempt-lazy-depth\n" |
| + "# ||||| / _-=> migrate-disable \n" |
| + "# |||||| / delay\n" |
| + "# TASK-PID CPU# ||||||| TIMESTAMP FUNCTION\n" |
| + "# | | | ||||||| | |\n"); |
| } |
| |
| void |