mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
29a679754b
commit
1ec7c4849c
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue