diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-05-14 23:40:06 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-05-14 23:40:06 -0400 |
commit | 1ec7c4849c214fc78b023230264399836ea3b245 (patch) | |
tree | 52a53fcd4d7ea0cd94b65bd8c6bf20402e3356af /scripts/basic | |
parent | 29a679754b1a2581ee456eada6c2de7ce95068bb (diff) |
tracing: stop stack trace on first empty entry
The stack tracer stores eight entries in the ring buffer when an event
traces the stack. The output outputs all eight entries regardless of
how many entries were recorded.
This patch breaks out of the loop when a null entry is discovered.
[ Impact: only print the stack that is recorded ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions