Re: [patch] ftrace: Fix latency trace header alignment

2016-10-17 Thread Sebastian Andrzej Siewior
On 2016-10-16 05:08:30 [+0200], Mike Galbraith wrote:
> Line up helper arrows to the right column.

thanks. And while at it I fixed the function tracer header.

> Signed-off-by: Mike Galbraith 

Sebastian


Re: [patch] ftrace: Fix latency trace header alignment

2016-10-17 Thread Sebastian Andrzej Siewior
On 2016-10-16 05:08:30 [+0200], Mike Galbraith wrote:
> Line up helper arrows to the right column.

thanks. And while at it I fixed the function tracer header.

> Signed-off-by: Mike Galbraith 

Sebastian


[patch] ftrace: Fix latency trace header alignment

2016-10-15 Thread Mike Galbraith
Line up helper arrows to the right column.

Signed-off-by: Mike Galbraith 
---
 kernel/trace/trace.c |   22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2896,17 +2896,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)


[patch] ftrace: Fix latency trace header alignment

2016-10-15 Thread Mike Galbraith
Line up helper arrows to the right column.

Signed-off-by: Mike Galbraith 
---
 kernel/trace/trace.c |   22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2896,17 +2896,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)