Skip to content

Commit 2da03ec

Browse files
author
Steven Rostedt
committed
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>
1 parent 7975a2b commit 2da03ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎kernel/trace/trace_stack.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ static int t_show(struct seq_file *m, void *v)
251251
int size;
252252

253253
if (v == SEQ_START_TOKEN) {
254-
seq_printf(m, " Depth Size Location"
254+
seq_printf(m, " Depth Size Location"
255255
" (%d entries)\n"
256-
" ----- ---- --------\n",
256+
" ----- ---- --------\n",
257257
max_stack_trace.nr_entries);
258258
return 0;
259259
}

0 commit comments

Comments
 (0)