[请教]怎样在kernel crash后找到trace信息?
本帖最后由 basical 于 2016-02-17 17:33 编辑使用写sys文件节点的方式获取trace event,有没有人知道如果kernel crash后怎样可以找回trace消息? 自问自答:参考Debugging the kernel using Ftrace
Having Ftrace configured and enabling ftrace_dump_on_oops in the kernel boot parameters, or by echoing a "1" into /proc/sys/kernel/ftrace_dump_on_oops, will enable Ftrace to dump to the console the entire trace buffer in ASCII format on oops or panic.
页:
[1]