[PATCH] LSM: remove BSD secure level security module
[usb.git] / include / asm-x86_64 / stacktrace.h
blob5eb9799bef76fcc77053c2529d5177b08ca6a541
1 #ifndef _ASM_STACKTRACE_H
2 #define _ASM_STACKTRACE_H 1
4 /* Generic stack tracer with callbacks */
6 struct stacktrace_ops {
7 void (*warning)(void *data, char *msg);
8 /* msg must contain %s for the symbol */
9 void (*warning_symbol)(void *data, char *msg, unsigned long symbol);
10 void (*address)(void *data, unsigned long address);
11 /* On negative return stop dumping */
12 int (*stack)(void *data, char *name);
15 void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long *stack,
16 struct stacktrace_ops *ops, void *data);
18 #endif