https://jxself.org/git/linux-libre.git
Raw File
Tip revision: eb0777d341df1c3c3582e89483a6ca5f739f881f authored by Jason Self on 14 August 2014, 01:24:33 UTC
Linux-libre 3.10.53-gnu
Tip revision: eb0777d
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