Release 4.7 include/linux/stacktrace.h
#ifndef __LINUX_STACKTRACE_H
#define __LINUX_STACKTRACE_H
#include <linux/types.h>
struct task_struct;
struct pt_regs;
#ifdef CONFIG_STACKTRACE
struct stack_trace {
unsigned int nr_entries, max_entries;
unsigned long *entries;
int skip; /* input argument: How many entries to skip */
};
extern void save_stack_trace(struct stack_trace *trace);
extern void save_stack_trace_regs(struct pt_regs *regs,
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);
extern int snprint_stack_trace(char *buf, size_t size,
struct stack_trace *trace, int spaces);
#ifdef CONFIG_USER_STACKTRACE_SUPPORT
extern void save_stack_trace_user(struct stack_trace *trace);
#else
# define save_stack_trace_user(trace) do { } while (0)
#endif
#else
# define save_stack_trace(trace) do { } while (0)
# define save_stack_trace_tsk(tsk, trace) do { } while (0)
# define save_stack_trace_user(trace) do { } while (0)
# define print_stack_trace(trace, spaces) do { } while (0)
# define snprint_stack_trace(buf, size, trace, spaces) do { } while (0)
#endif
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
ingo molnar | ingo molnar | 68 | 36.56% | 1 | 9.09% |
joonsoo kim | joonsoo kim | 36 | 19.35% | 1 | 9.09% |
torok edwin | torok edwin | 31 | 16.67% | 2 | 18.18% |
arjan van de ven | arjan van de ven | 24 | 12.90% | 1 | 9.09% |
vegard nossum | vegard nossum | 8 | 4.30% | 1 | 9.09% |
soeren sandmann pedersen* | soeren sandmann pedersen* | 6 | 3.23% | 1 | 9.09% |
andi kleen | andi kleen | 4 | 2.15% | 1 | 9.09% |
masami hiramatsu | masami hiramatsu | 4 | 2.15% | 1 | 9.09% |
andrew morton | andrew morton | 3 | 1.61% | 1 | 9.09% |
johannes berg | johannes berg | 2 | 1.08% | 1 | 9.09% |
| Total | 186 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.