#ifndef __LINUX_STACKTRACE_H#define __LINUX_STACKTRACE_H#ifdef CONFIG_STACKTRACEstructstack_trace{unsignedintnr_entries,max_entries;unsignedlong*entries;};externvoidsave_stack_trace(structstack_trace*trace,structtask_struct*task,intall_contexts,unsignedintskip);externvoidprint_stack_trace(structstack_trace*trace,intspaces);#else# define save_stack_trace(trace, task, all, skip) do { } while (0)# define print_stack_trace(trace) do { } while (0)#endif#endif