X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fstacktrace.h;h=5da9794b2d782d27f3f77fde3418521a6a19a3e8;hb=18ce3751ccd488c78d3827e9f6bf54e6322676fb;hp=50e2b01e517cc3c9bdf3af4b328c4afb8d3aab21;hpb=db1a19b38f3a85f475b4ad716c71be133d8ca48e;p=linux-2.6 diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 50e2b01e51..5da9794b2d 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -6,16 +6,17 @@ struct stack_trace { unsigned int nr_entries, max_entries; unsigned long *entries; int skip; /* input argument: How many entries to skip */ - int all_contexts; /* input argument: if true do than one stack */ }; -extern void save_stack_trace(struct stack_trace *trace, - struct task_struct *task); +extern void save_stack_trace(struct stack_trace *trace); +extern void save_stack_trace_tsk(struct task_struct *tsk, + struct stack_trace *trace); extern void print_stack_trace(struct stack_trace *trace, int spaces); #else -# define save_stack_trace(trace, task) do { } while (0) -# define print_stack_trace(trace) do { } while (0) +# define save_stack_trace(trace) do { } while (0) +# define save_stack_trace_tsk(tsk, trace) do { } while (0) +# define print_stack_trace(trace, spaces) do { } while (0) #endif #endif