https://jxself.org/git/linux-libre.git
Raw File
Tip revision: 979d08b88e1f87f6cad923eed2d6e0edff437e1c authored by Jason Self on 28 July 2013, 23:30:56 UTC
Linux-libre 3.10.4-gnu
Tip revision: 979d08b
dump_stack.c
/*
 * 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>

/**
 * dump_stack - dump the current task information and its stack trace
 *
 * Architectures can override this implementation by implementing its own.
 */
void dump_stack(void)
{
	dump_stack_print_info(KERN_DEFAULT);
	show_stack(NULL, NULL);
}
EXPORT_SYMBOL(dump_stack);
back to top