https://github.com/torvalds/linux
Revision f56df2f4db6e4af87fb8e941cff69f4501a111df authored by Linus Torvalds on 31 January 2007, 03:42:57 UTC, committed by Linus Torvalds on 31 January 2007, 03:42:57 UTC
Ok, so I said there wouldn't be another -rc.

I lied.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4222721
Raw File
Tip revision: f56df2f4db6e4af87fb8e941cff69f4501a111df authored by Linus Torvalds on 31 January 2007, 03:42:57 UTC
Linux 2.6.20-rc7
Tip revision: f56df2f
stacktrace.h
#ifndef _ASM_STACKTRACE_H
#define _ASM_STACKTRACE_H 1

extern int kstack_depth_to_print;

/* Generic stack tracer with callbacks */

struct stacktrace_ops {
	void (*warning)(void *data, char *msg);
	/* msg must contain %s for the symbol */
	void (*warning_symbol)(void *data, char *msg, unsigned long symbol);
	void (*address)(void *data, unsigned long address);
	/* On negative return stop dumping */
	int (*stack)(void *data, char *name);
};

void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long *stack,
		struct stacktrace_ops *ops, void *data);

#endif
back to top