diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-09-27 18:16:47 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-09-27 18:16:47 -0400 |
| commit | 3b9f6cb8a1ec791be79c6c7595fea922f12d1e64 (patch) | |
| tree | 2393a448add846e6c2ed12f68106c3018b72c6a9 /include/linux/stacktrace.h | |
| parent | c38778c3a9aeadcd1ee319cfc8ea5a9cbf8cdafa (diff) | |
| parent | a77c64c1a641950626181b4857abb701d8f38ccc (diff) | |
Merge branch 'master' into upstream
Diffstat (limited to 'include/linux/stacktrace.h')
| -rw-r--r-- | include/linux/stacktrace.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 9cc81e572224..50e2b01e517c 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h | |||
| @@ -5,15 +5,16 @@ | |||
| 5 | struct stack_trace { | 5 | struct stack_trace { |
| 6 | unsigned int nr_entries, max_entries; | 6 | unsigned int nr_entries, max_entries; |
| 7 | unsigned long *entries; | 7 | unsigned long *entries; |
| 8 | int skip; /* input argument: How many entries to skip */ | ||
| 9 | int all_contexts; /* input argument: if true do than one stack */ | ||
| 8 | }; | 10 | }; |
| 9 | 11 | ||
| 10 | extern void save_stack_trace(struct stack_trace *trace, | 12 | extern void save_stack_trace(struct stack_trace *trace, |
| 11 | struct task_struct *task, int all_contexts, | 13 | struct task_struct *task); |
| 12 | unsigned int skip); | ||
| 13 | 14 | ||
| 14 | extern void print_stack_trace(struct stack_trace *trace, int spaces); | 15 | extern void print_stack_trace(struct stack_trace *trace, int spaces); |
| 15 | #else | 16 | #else |
| 16 | # define save_stack_trace(trace, task, all, skip) do { } while (0) | 17 | # define save_stack_trace(trace, task) do { } while (0) |
| 17 | # define print_stack_trace(trace) do { } while (0) | 18 | # define print_stack_trace(trace) do { } while (0) |
| 18 | #endif | 19 | #endif |
| 19 | 20 | ||
