kprobes: kretprobes simplifications
[deliverable/linux.git] / include / linux / stacktrace.h
CommitLineData
8637c099
IM
1#ifndef __LINUX_STACKTRACE_H
2#define __LINUX_STACKTRACE_H
3
4#ifdef CONFIG_STACKTRACE
5struct stack_trace {
6 unsigned int nr_entries, max_entries;
7 unsigned long *entries;
5a1b3999 8 int skip; /* input argument: How many entries to skip */
8637c099
IM
9};
10
ab1b6f03 11extern void save_stack_trace(struct stack_trace *trace);
8637c099
IM
12
13extern void print_stack_trace(struct stack_trace *trace, int spaces);
14#else
ab1b6f03 15# define save_stack_trace(trace) do { } while (0)
8637c099
IM
16# define print_stack_trace(trace) do { } while (0)
17#endif
18
19#endif
This page took 0.123219 seconds and 5 git commands to generate.