From: Steven Rostedt Date: Fri, 15 May 2009 03:40:06 +0000 (-0400) Subject: tracing: stop stack trace on first empty entry X-Git-Tag: v2.6.31-rc1~401^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ec7c4849c214fc78b023230264399836ea3b245;p=pandora-kernel.git 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 --- Reading git-diff-tree failed