aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTörök Edwin <edwintorok@gmail.com>2008-11-23 05:39:08 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 05:53:50 -0500
commit8d26487fd4ddda7a0237da418fb8669fb06ae557 (patch)
treedf518f9aef1c0f830ada2f2ad221ee41fd38ba1e /include
parentcffa10aecb6891f090a4d53a075bc40c082c45fc (diff)
tracing/stack-tracer: introduce CONFIG_USER_STACKTRACE_SUPPORT
Impact: cleanup User stack tracing is just implemented for x86, but it is not x86 specific. Introduce a generic config flag, that is currently enabled only for x86. When other arches implement it, they will have to SELECT USER_STACKTRACE_SUPPORT. Signed-off-by: Török Edwin <edwintorok@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/stacktrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h
index fd42d6851109..1a8cecc4f38c 100644
--- a/include/linux/stacktrace.h
+++ b/include/linux/stacktrace.h
@@ -16,7 +16,7 @@ extern void save_stack_trace_tsk(struct task_struct *tsk,
16 16
17extern void print_stack_trace(struct stack_trace *trace, int spaces); 17extern void print_stack_trace(struct stack_trace *trace, int spaces);
18 18
19#ifdef CONFIG_X86 19#ifdef CONFIG_USER_STACKTRACE_SUPPORT
20extern void save_stack_trace_user(struct stack_trace *trace); 20extern void save_stack_trace_user(struct stack_trace *trace);
21#else 21#else
22# define save_stack_trace_user(trace) do { } while (0) 22# define save_stack_trace_user(trace) do { } while (0)