aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/unwind.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-06-26 07:57:47 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 13:48:18 -0400
commitc33bd9aac0597eeedaaa01ea5aafe456894b2f2b (patch)
treecdac9bb99eb3943feccc2a21d09a1524a8867cb0 /include/linux/unwind.h
parentfe7cacc1c25e286872b878c5d46880b620cd1e2d (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/linux/unwind.h')
-rw-r--r--include/linux/unwind.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/unwind.h b/include/linux/unwind.h
index 0295aa789ab4..13c7b2cd87ce 100644
--- a/include/linux/unwind.h
+++ b/include/linux/unwind.h
@@ -49,8 +49,8 @@ extern int unwind_init_blocked(struct unwind_frame_info *,
49 * Prepare to unwind the currently running thread. 49 * Prepare to unwind the currently running thread.
50 */ 50 */
51extern int unwind_init_running(struct unwind_frame_info *, 51extern int unwind_init_running(struct unwind_frame_info *,
52 asmlinkage void (*callback)(struct unwind_frame_info *, 52 asmlinkage int (*callback)(struct unwind_frame_info *,
53 void *arg), 53 void *arg),
54 void *arg); 54 void *arg);
55 55
56/* 56/*
@@ -97,8 +97,8 @@ static inline int unwind_init_blocked(struct unwind_frame_info *info,
97} 97}
98 98
99static inline int unwind_init_running(struct unwind_frame_info *info, 99static inline int unwind_init_running(struct unwind_frame_info *info,
100 asmlinkage void (*cb)(struct unwind_frame_info *, 100 asmlinkage int (*cb)(struct unwind_frame_info *,
101 void *arg), 101 void *arg),
102 void *arg) 102 void *arg)
103{ 103{
104 return -ENOSYS; 104 return -ENOSYS;