/* * Provide a default dump_stack() function for architectures * which don't implement their own. */ #include #include #include /** * 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);