]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0362-ftrace-Fix-trace-header-alignment.patch
WAR:media:i2c:ov5693: add flip and mirror setting
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0362-ftrace-Fix-trace-header-alignment.patch
1 From 50690497c1847516ec81202798d77d46ec18f24c Mon Sep 17 00:00:00 2001
2 From: Mike Galbraith <umgwanakikbuti@gmail.com>
3 Date: Sun, 16 Oct 2016 05:08:30 +0200
4 Subject: [PATCH 362/365] ftrace: Fix trace header alignment
5
6 Line up helper arrows to the right column.
7
8 Cc: stable-rt@vger.kernel.org
9 Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>
10 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
11 [bigeasy: fixup function tracer header]
12 Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
13 ---
14  kernel/trace/trace.c | 32 ++++++++++++++++----------------
15  1 file changed, 16 insertions(+), 16 deletions(-)
16
17 diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
18 index 7f9e1f5..327f8da 100644
19 --- a/kernel/trace/trace.c
20 +++ b/kernel/trace/trace.c
21 @@ -2578,17 +2578,17 @@ get_total_entries(struct trace_buffer *buf,
22  
23  static void print_lat_help_header(struct seq_file *m)
24  {
25 -       seq_puts(m, "#                   _--------=> CPU#              \n"
26 -                   "#                  / _-------=> irqs-off          \n"
27 -                   "#                 | / _------=> need-resched      \n"
28 -                   "#                 || / _-----=> need-resched_lazy \n"
29 -                   "#                 ||| / _----=> hardirq/softirq   \n"
30 -                   "#                 |||| / _---=> preempt-depth     \n"
31 -                   "#                 ||||| / _--=> preempt-lazy-depth\n"
32 -                   "#                 |||||| / _-=> migrate-disable   \n"
33 -                   "#                 ||||||| /     delay             \n"
34 -                   "#  cmd     pid    |||||||| time  |   caller       \n"
35 -                   "#     \\   /      ||||||||  \\   |   /            \n");
36 +       seq_puts(m, "#                  _--------=> CPU#              \n"
37 +                   "#                 / _-------=> irqs-off          \n"
38 +                   "#                | / _------=> need-resched      \n"
39 +                   "#                || / _-----=> need-resched_lazy \n"
40 +                   "#                ||| / _----=> hardirq/softirq   \n"
41 +                   "#                |||| / _---=> preempt-depth     \n"
42 +                   "#                ||||| / _--=> preempt-lazy-depth\n"
43 +                   "#                |||||| / _-=> migrate-disable   \n"
44 +                   "#                ||||||| /     delay             \n"
45 +                   "# cmd     pid    |||||||| time   |  caller       \n"
46 +                   "#     \\   /      ||||||||   \\    |  /            \n");
47  }
48  
49  static void print_event_info(struct trace_buffer *buf, struct seq_file *m)
50 @@ -2624,11 +2624,11 @@ static void print_func_help_header_irq(struct trace_buffer *buf, struct seq_file
51                     "#                            |/  _-----=> need-resched_lazy\n"
52                     "#                            || / _---=> hardirq/softirq\n"
53                     "#                            ||| / _--=> preempt-depth\n"
54 -                   "#                            |||| /_--=> preempt-lazy-depth\n"
55 -                   "#                            |||||  _-=> migrate-disable   \n"
56 -                   "#                            ||||| /    delay\n"
57 -                   "#           TASK-PID   CPU#  ||||||    TIMESTAMP  FUNCTION\n"
58 -                   "#              | |       |   ||||||       |         |\n");
59 +                   "#                            |||| / _-=> preempt-lazy-depth\n"
60 +                   "#                            ||||| / _-=> migrate-disable   \n"
61 +                   "#                            |||||| /    delay\n"
62 +                   "#           TASK-PID   CPU#  |||||||   TIMESTAMP  FUNCTION\n"
63 +                   "#              | |       |   |||||||      |         |\n");
64  }
65  
66  static void print_func_help_header_irq_tgid(struct trace_buffer *buf, struct seq_file *m)
67 -- 
68 2.7.4
69