]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracing: left align location header in stack_trace
authorSteven Rostedt <srostedt@redhat.com>
Fri, 13 Mar 2009 04:00:58 +0000 (00:00 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Fri, 13 Mar 2009 04:00:58 +0000 (00:00 -0400)
Ingo Molnar suggested, instead of:

        Depth    Size      Location    (27 entries)
        -----    ----      --------
  0)     2880      48   lock_timer_base+0x2b/0x4f
  1)     2832      80   __mod_timer+0x33/0xe0
  2)     2752      16   __ide_set_handler+0x63/0x65

To have it be:

        Depth    Size   Location    (27 entries)
        -----    ----   --------
  0)     2880      48   lock_timer_base+0x2b/0x4f
  1)     2832      80   __mod_timer+0x33/0xe0
  2)     2752      16   __ide_set_handler+0x63/0x65

Requested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_stack.c

index 91ccbf396c9ae788c321efc3a8a51af5f3ef7ef4..c750f65f9661531273ee16553623b405268fc758 100644 (file)
@@ -262,9 +262,9 @@ static int t_show(struct seq_file *m, void *v)
        int size;
 
        if (v == SEQ_START_TOKEN) {
-               seq_printf(m, "        Depth    Size      Location"
+               seq_printf(m, "        Depth    Size   Location"
                           "    (%d entries)\n"
-                          "        -----    ----      --------\n",
+                          "        -----    ----   --------\n",
                           max_stack_trace.nr_entries);
 
                if (!stack_tracer_enabled && !max_stack_size)