Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be7a9170 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

[PATCH] Check for end of stack trace before falling back



Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent c0b766f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -292,6 +292,8 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long * s
				if ((long)UNW_SP(&info) < 0) {
					ops->warning(data, "Leftover inexact backtrace:\n");
					stack = (unsigned long *)UNW_SP(&info);
					if (!stack)
						return;
				} else
					ops->warning(data, "Full inexact backtrace again:\n");
			} else if (call_trace >= 1)