Back To Schedule
Friday, February 6 • 16:40 - 17:20
News from perf land: probe, trace and scripting

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

The Linux 'perf' tools continuously grows in scope as an observability toolchest, with more and more features being added.

In this talk the 'probe' and 'trace' tools will be showcased: the first allows adding dynamic probes in arbitrary points in the kernel and in userspace libraries and programs, collecting global and local variables, as well as callchains, that can then be used in conjunction with the other perf tools: record, top, trace, script, etc.

The later, trace, started as a super strace, one that allows stracing not just threads, but other targets such as the whole system, sets of CPUs, etc, in addition to threads. It also has a much lower overhead as it doesn't use the ptrace syscall. Support for tracing page faults and other events, as well as provide callchains leading to a syscall and other traced events are being planned and may even be ready by devconf'15 time!

An example of integration among perf tools, using 'probe' to allow capturing syscall arguments for pretty printing in 'trace', will be described, showcasing 'wannabe tracepoints', dynamic probes that may end up becoming real tracepoints.

How to use perf support in scripting languages. Explaning how perf interfaces scripting languages and showing practical examples of existing scripts and how to write your own.

avatar for Arnaldo Carvalho de Melo

Arnaldo Carvalho de Melo

Principal Software Engineer, Red Hat
Maintained IPX, LLC, Appletalk protocols. Refactored the TCP/IP stack to reuse non TCP specific parts. Implemented the Linux DCCP stack. Created pahole, a tool to help in optimizing data structures, used in Linux, glibc, KDE, xine & others. Maintainer of
avatar for Jiri Olsa

Jiri Olsa

Software Engineer, Red Hat
Jiri works for RedHat full time on Linux as kernel generalist engineer in Brno office, Czech Republicech Republic. He currently divides his work time between upstream perf work and maintaining RHEL perf.

Friday February 6, 2015 16:40 - 17:20 CET

Attendees (0)