1 #ifndef __LINUX_STACKTRACE_H
2 #define __LINUX_STACKTRACE_H
4 #ifdef CONFIG_STACKTRACE
6 unsigned int nr_entries, max_entries;
7 unsigned long *entries;
10 extern void save_stack_trace(struct stack_trace *trace,
11 struct task_struct *task, int all_contexts,
14 extern void print_stack_trace(struct stack_trace *trace, int spaces);
16 # define save_stack_trace(trace, task, all, skip) do { } while (0)
17 # define print_stack_trace(trace) do { } while (0)