Skip to content

Commit ef582d0

Browse files
committed
Merge tag 'trace-v4.5-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing fix from Steven Rostedt: "A cleanup to the stack tracer broke stack tracing on s390. Here's a simple fix to correct that issue" * tag 'trace-v4.5-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: tracing/stacktrace: Show entire trace if passed in function not found
2 parents 4643536 + 6ccd837 commit ef582d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kernel/trace/trace_stack.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ check_stack(unsigned long ip, unsigned long *stack)
125125
break;
126126
}
127127

128+
/*
129+
* Some archs may not have the passed in ip in the dump.
130+
* If that happens, we need to show everything.
131+
*/
132+
if (i == stack_trace_max.nr_entries)
133+
i = 0;
134+
128135
/*
129136
* Now find where in the stack these are.
130137
*/

0 commit comments

Comments
 (0)