Linux: debug:dump_stack 实例
文章目录
- dump_stack
- 效果
- 解释
- binary
dump_stack
最近看到一个内核函数,可以帮助dump进程的stack数据。看着很有用,可以使用。
/**
* dump_stack - dump the current task information and its stack trace
* Architectures can override this implementation by implementing its own.
*/
asmlinkage __visible void dump_stack(void)
{
unsigned long flags;
/*
* P