Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | stacktrace_ops |
struct | stack_frame |
struct | stack_frame_ia32 |
Macros | |
#define | STACKSLOTS_PER_LINE 4 |
#define | get_bp(bp) asm("movq %%rbp, %0" : "=r" (bp) :) |
Typedefs | |
typedef unsigned long(* | walk_stack_t )(struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) |
Functions | |
unsigned long | print_context_stack (struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) |
unsigned long | print_context_stack_bp (struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) |
void | dump_trace (struct task_struct *tsk, struct pt_regs *regs, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data) |
void | show_trace_log_lvl (struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp, char *log_lvl) |
void | show_stack_log_lvl (struct task_struct *task, struct pt_regs *regs, unsigned long *sp, unsigned long bp, char *log_lvl) |
Variables | |
int | kstack_depth_to_print |
unsigned int | code_bytes |
Definition at line 55 of file stacktrace.h.
#define STACKSLOTS_PER_LINE 4 |
Definition at line 54 of file stacktrace.h.
typedef unsigned long(* walk_stack_t)(struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) |
Definition at line 17 of file stacktrace.h.
void dump_trace | ( | struct task_struct * | tsk, |
struct pt_regs * | regs, | ||
unsigned long * | stack, | ||
unsigned long | bp, | ||
const struct stacktrace_ops * | ops, | ||
void * | data | ||
) |
Definition at line 20 of file dumpstack_32.c.
unsigned long print_context_stack | ( | struct thread_info * | tinfo, |
unsigned long * | stack, | ||
unsigned long | bp, | ||
const struct stacktrace_ops * | ops, | ||
void * | data, | ||
unsigned long * | end, | ||
int * | graph | ||
) |
Definition at line 89 of file dumpstack.c.
unsigned long print_context_stack_bp | ( | struct thread_info * | tinfo, |
unsigned long * | stack, | ||
unsigned long | bp, | ||
const struct stacktrace_ops * | ops, | ||
void * | data, | ||
unsigned long * | end, | ||
int * | graph | ||
) |
Definition at line 117 of file dumpstack.c.
void show_stack_log_lvl | ( | struct task_struct * | task, |
struct pt_regs * | regs, | ||
unsigned long * | sp, | ||
unsigned long | bp, | ||
char * | log_lvl | ||
) |
Definition at line 58 of file dumpstack_32.c.
void show_trace_log_lvl | ( | struct task_struct * | task, |
struct pt_regs * | regs, | ||
unsigned long * | stack, | ||
unsigned long | bp, | ||
char * | log_lvl | ||
) |
Definition at line 164 of file dumpstack.c.
unsigned int code_bytes |
Definition at line 24 of file dumpstack.c.