标签:style blog class code c color
1. 追蹤Kernel function (以schedule()示範)
先至
| 1 | /sys/kernel/debug/tracing# cat available_tracers | 
確定有無 函式追蹤器(function)
blk 
mmiotrace function_graph wakeup_rt wakeup function nop
很開心有的,接著
| 1 2 3 | echo schedule > set_ftrace_filterecho functuin > current_tracer | 
看結果
| 1 | head trace | 
标签:style blog class code c color
原文地址:http://www.cnblogs.com/bittorrent/p/3729882.html