x86: print local APIC of APs one by one
[deliverable/linux.git] / include / linux / stacktrace.h
CommitLineData
8637c099
IM
1#ifndef __LINUX_STACKTRACE_H
2#define __LINUX_STACKTRACE_H
3
897312bd
AM
4struct task_struct;
5
8637c099
IM
6#ifdef CONFIG_STACKTRACE
7struct stack_trace {
8 unsigned int nr_entries, max_entries;
9 unsigned long *entries;
5a1b3999 10 int skip; /* input argument: How many entries to skip */
8637c099
IM
11};
12
ab1b6f03 13extern void save_stack_trace(struct stack_trace *trace);
9745512c
AV
14extern void save_stack_trace_tsk(struct task_struct *tsk,
15 struct stack_trace *trace);
8637c099
IM
16
17extern void print_stack_trace(struct stack_trace *trace, int spaces);
18#else
ab1b6f03 19# define save_stack_trace(trace) do { } while (0)
9745512c 20# define save_stack_trace_tsk(tsk, trace) do { } while (0)
3b5ad079 21# define print_stack_trace(trace, spaces) do { } while (0)
8637c099
IM
22#endif
23
24#endif
This page took 0.541732 seconds and 5 git commands to generate.