1 初探ftrace遇到的问题1.1 搞清楚ftrace是否标记出中断函数根据官网的描述,funcgraph-irqs选项,用于表明是否追踪中断。因此关闭后就不会记录中断信息。
123funcgraph-irqs When disabled, functions that happen inside an interrupt will not be traced.
1.2 搞清楚为...
Basic Usage
Make sure compile file with -g option, which mean turn on debugging with gdb
like this: gcc -g main.cpp -o main
Debugging with GDB
Open file
here are two way
gdb <file>
gdb pat...