Posts

Showing posts from 2020

Linux FTRACE setup using Terminal and GUI Application created from Python Framework

Image
Linux  FTRACE setup using Terminal and GUI Application created from Python Framework In our development processs often it requires to know internal call flow of module/sub system that we   are concerened   about for the efficieent program implementation. In this blog we’ll kick start the process using ftrace, which is provided by Linux Kernel. ftrace (abbreviated from Function Tracer) is a  tracing   framework  for the  Linux kernel . ftrace is developed primarily by Steven Rostedt, and it was merged into the  Linux kernel mainline  in kernel version 2.6.27, which was released on October 9, 2008.ftrace provides few files to set the tracing parameter and tracing function. “Ultimate Tracer”( UTracer ) is a utility that I implemented to setup the function graph parameter. Ultimate Tracer is created using python framework and initial version that we are going to discuss further supports only function graph. Similar to “UTracer” GUI version , there a another version a