Ftrace is powerful tracing utility embedded in Linux kernel. It provides a very good method for kernel developer to get insights of the kernel behavior.
While official kernel doc for ftrace is somehow long and complex, this document provides a quicker and simpler way to get start with ftrace.