Files
linux-apfs/lib/dump_stack.c
T

21 lines
455 B
C
Raw Normal View History

2005-04-16 15:20:36 -07:00
/*
* Provide a default dump_stack() function for architectures
* which don't implement their own.
*/
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/sched.h>
2005-04-16 15:20:36 -07:00
/**
* dump_stack - dump the current task information and its stack trace
*
* Architectures can override this implementation by implementing its own.
*/
2005-04-16 15:20:36 -07:00
void dump_stack(void)
{
dump_stack_print_info(KERN_DEFAULT);
show_stack(NULL, NULL);
2005-04-16 15:20:36 -07:00
}
EXPORT_SYMBOL(dump_stack);