Blame view
include/linux/stacktrace.h
492 Bytes
8637c0990
|
1 2 3 4 5 6 7 |
#ifndef __LINUX_STACKTRACE_H #define __LINUX_STACKTRACE_H #ifdef CONFIG_STACKTRACE struct stack_trace { unsigned int nr_entries, max_entries; unsigned long *entries; |
5a1b3999d
|
8 |
int skip; /* input argument: How many entries to skip */ |
8637c0990
|
9 |
}; |
ab1b6f03a
|
10 |
extern void save_stack_trace(struct stack_trace *trace); |
8637c0990
|
11 12 13 |
extern void print_stack_trace(struct stack_trace *trace, int spaces); #else |
ab1b6f03a
|
14 |
# define save_stack_trace(trace) do { } while (0) |
3b5ad0797
|
15 |
# define print_stack_trace(trace, spaces) do { } while (0) |
8637c0990
|
16 17 18 |
#endif #endif |