diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-06-26 07:57:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 13:48:18 -0400 |
commit | c33bd9aac0597eeedaaa01ea5aafe456894b2f2b (patch) | |
tree | cdac9bb99eb3943feccc2a21d09a1524a8867cb0 /include/asm-i386/unwind.h | |
parent | fe7cacc1c25e286872b878c5d46880b620cd1e2d (diff) |
[PATCH] i386/x86-64: fall back to old-style call trace if no unwinding
If no unwinding is possible at all for a certain exception instance,
fall back to the old style call trace instead of not showing any trace
at all.
Also, allow setting the stack trace mode at the command line.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/unwind.h')
-rw-r--r-- | include/asm-i386/unwind.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-i386/unwind.h b/include/asm-i386/unwind.h index 1c076897ac21..d480f2e38215 100644 --- a/include/asm-i386/unwind.h +++ b/include/asm-i386/unwind.h | |||
@@ -66,10 +66,10 @@ static inline void arch_unw_init_blocked(struct unwind_frame_info *info) | |||
66 | info->regs.xes = __USER_DS; | 66 | info->regs.xes = __USER_DS; |
67 | } | 67 | } |
68 | 68 | ||
69 | extern asmlinkage void arch_unwind_init_running(struct unwind_frame_info *, | 69 | extern asmlinkage int arch_unwind_init_running(struct unwind_frame_info *, |
70 | asmlinkage void (*callback)(struct unwind_frame_info *, | 70 | asmlinkage int (*callback)(struct unwind_frame_info *, |
71 | void *arg), | 71 | void *arg), |
72 | void *arg); | 72 | void *arg); |
73 | 73 | ||
74 | static inline int arch_unw_user_mode(const struct unwind_frame_info *info) | 74 | static inline int arch_unw_user_mode(const struct unwind_frame_info *info) |
75 | { | 75 | { |