Speakers
Description
Traditionally, the Linux perf tool has relied on a text user interface (TUI) based on libslang and embedded Python/Perl interpreters for scripting support. However, developing robust user interfaces in C is tedious and error-prone, and using perf itself as the interpreter integrates poorly with broader programming language ecosystems.
In this talk, we will describe how we refactored perf into a set of libraries, enabling it to be imported and used directly as a native Python module. Building on this foundation, we will showcase new tools featuring rich, interactive console UIs, culminating in a console-based flame graph analysis tool. This modular library approach dramatically accelerates tool development, paving the way for a more agile and extensible Linux performance tooling ecosystem.