X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fstacktrace.h;h=5da9794b2d782d27f3f77fde3418521a6a19a3e8;hb=82248a5e92793014d156a12dbcbba633794ce9f8;hp=1d2b084c01859a3b4ebb4f1657129e8451110b5e;hpb=38cb162b7585d837083b8365da1eb32687c5164c;p=linux-2.6 diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index 1d2b084c01..5da9794b2d 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h @@ -9,11 +9,14 @@ struct stack_trace { }; 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) do { } while (0) -# define print_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