Using Libtracecmd to Analyze Your Latency and Performance Troubles

Trying to figure out why your application is responding late can be difficult, especially if it is because of interference from the operating system. This talk will briefly go over how to write a C program that can analyze what in the Linux system is interfering with your application. It will use trace-cmd to enable kernel trace events as well as tracing lock functions, and it will then go over a quick tutorial on how to use libtracecmd to read the created trace.dat file to uncover what is the cause of interference to you application.

20 minutes
Register now to access all 50+ P99 CONF videos and slide decks.
Watch this session from the P99 CONF livestream, plus get instant access to all of the P99 CONF sessions and decks.
Steven Rostedt

Steven Rostedt, Software Engineer at Google

Steven Rostedt currently works for Google on the ChromeOS performance team. He's the maintainer of the PREEMPT_RT (aka Real Time patch) stable releases. He is also one of the original developers for the Real Time patch. Steven is the main developer and maintainer for ftrace, the official tracer of the Linux kernel, as well as the user space tools trace-cmd and the libraries libtracecmd, libtracefs and libtraceevent. He also develops (in the kernel) and was the creator of "make localmodconfig".

P99 CONF OCT. 23 + 24, 2024

Register for Your Free Ticket