1.A look at ftrace
https://lwn.net/Articles/322666/
2.Debugging the kernel using Ftrace
https://lwn.net/Articles/366796/
https://lwn.net/Articles/365835/
3. dynamic debug how
http://www.mjmwired.net/kernel/Documentation/dynamic-debug-howto.txt
4. Ftrace_Function_Graph_ARM
http://elinux.org/Ftrace_Function_Graph_ARM
5.
http://stackoverflow.com/questions/13044214/ftrace-on-android-freeze-when-turn-on-function-trace-somebody-help-me
6. Kernel Tracing with ftrace
http://www.opensourceforu.com/2010/12/kernel-tracing-with-ftrace-part-2/