diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-12 18:57:51 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-12 21:15:01 -0400 |
commit | 2da03ecee6308ea174e8a02b92a3c4ec92e886c8 (patch) | |
tree | 6e532a732a63f3a8385564aa450ada83d1a25ce7 /kernel/trace/trace_stack.c | |
parent | 7975a2be16dd42df2cab80c80cb6ece382edb6ec (diff) |
tracing: fix stack tracer header
The stack tracer use to look like this:
# cat /debug/tracing/stack_trace
Depth Size Location (57 entries)
----- ---- --------
0) 5088 16 mempool_alloc_slab+0x16/0x18
1) 5072 144 mempool_alloc+0x4d/0xfe
2) 4928 16 scsi_sg_alloc+0x48/0x4a [scsi_mod]
Now it looks like this:
# cat /debug/tracing/stack_trace
Depth Size Location (57 entries)
----- ---- --------
0) 5088 16 mempool_alloc_slab+0x16/0x18
1) 5072 144 mempool_alloc+0x4d/0xfe
2) 4928 16 scsi_sg_alloc+0x48/0x4a [scsi_mod]
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_stack.c')
-rw-r--r-- | kernel/trace/trace_stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index d0871bc0aca5..4564fd94b0cd 100644 --- a/kernel/trace/trace_stack.c +++ b/kernel/trace/trace_stack.c | |||
@@ -251,9 +251,9 @@ static int t_show(struct seq_file *m, void *v) | |||
251 | int size; | 251 | int size; |
252 | 252 | ||
253 | if (v == SEQ_START_TOKEN) { | 253 | if (v == SEQ_START_TOKEN) { |
254 | seq_printf(m, " Depth Size Location" | 254 | seq_printf(m, " Depth Size Location" |
255 | " (%d entries)\n" | 255 | " (%d entries)\n" |
256 | " ----- ---- --------\n", | 256 | " ----- ---- --------\n", |
257 | max_stack_trace.nr_entries); | 257 | max_stack_trace.nr_entries); |
258 | return 0; | 258 | return 0; |
259 | } | 259 | } |