Ftrace is an internal tracing utility built directly into the Linux kernel.
Android systrace tool, calls atrace tool via ADB. However, I don't understand very well the format of the traces file. …