trace: fix output of stack trace
authorSteven Rostedt <srostedt@redhat.com>
Wed, 3 Dec 2008 16:04:50 +0000 (11:04 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Dec 2008 16:15:02 +0000 (17:15 +0100)
commit0a37119d963e876ca86912497346ec50dea2541b
tree610d9ce270624656f24118f24925a3a0cc71b22e
parent166d3c7994d79ab3f78f420607283361ff5cce79
trace: fix output of stack trace

Impact: fix to output of stack trace

If a function is not found in the stack of the stack tracer, the
number printed is quite strange. This fixes the algorithm to handle
missing functions better.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stack.c