summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorwalimis <walimisdev@gmail.com>2009-06-03 16:01:28 +0800
committerSteven Rostedt <rostedt@goodmis.org>2009-06-03 10:24:44 -0400
commit083a63b48e4dd0a6a2d44216720076dc81ebb255 (patch)
treec63fe5fed8b44538ecb6870cbe99c45d32915f9e /include/xen
parentea05b57cc19234d8de9887c8a32c2e58e84b56ba (diff)
tracing/trace_stack: fix the number of entries in the header
The last entry in the stack_dump_trace is ULONG_MAX, which is not a valid entry, but max_stack_trace.nr_entries has accounted for it. So when printing the header, we should decrease it by one. Before fix, print as following, for example: Depth Size Location (53 entries) <--- should be 52 ----- ---- -------- 0) 3264 108 update_wall_time+0x4d5/0x9a0 ... 51) 80 80 syscall_call+0x7/0xb ^^^ it's correct. Signed-off-by: walimis <walimisdev@gmail.com> LKML-Reference: <1244016090-7814-1-git-send-email-walimisdev@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions