diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-15 23:14:28 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-27 11:15:04 -0400 |
commit | a2acce536921bd793bae13fa344fcea157638e72 (patch) | |
tree | 52e2e701392b16c43de2eddb0a3a8bc981719d9a /Documentation | |
parent | da387e5c930f43d9f3b011a6fbb33bdf43d9714c (diff) |
tracing: Have stack tracer trace full stack
The stack tracer traces every function call checking the current stack (in
non interrupt context), looking for the deepest stack, and saving it when it
finds a new max depth. The problem is that it calls save_stack_trace(), and
with the new ORC unwinder, it can skip too much. As it looks at the ip of
the function call in the backtrace to find where it should start, it doesn't
need to skip anything.
The stack trace selftest would fail when the kernel was complied with the
ORC UNDWINDER enabled. Without skipping functions when doing the stack
trace, it now passes again.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions