LinuxCon + CloudOpen + ELC-E Europe 2014 has ended
To Learn More: LinuxCon Europe | CloudOpen Europe | Embedded Linux Conference Europe.

Attendees! Please provide us feedback on the sessions you attend! Click here to submit a brief survey for each session and win a $250 Amazon gift certificate. 

>> Tracing Summit: View the Full Schedule
Back To Schedule
Monday, October 13 • 10:15am - 10:45am
User Case Study: Tracing in the QEMU Emulator - Stefan Hajnoczi, Red Hat

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

The QEMU machine emulator is used by projects including KVM, Xen, and Linaro to emulate hardware. Low overhead instrumentation is important both for developers and in production. This talk covers how tracing is used in QEMU. QEMU abstracts tracers using a code-generation tool called 'tracetool'. This allows the cross-platform codebase to work with DTrace, SystemTap, LTTng UST, and others. Although tracetool is part of the QEMU source tree, it could also be reused by other projects. Users often wish to get started without installing a tracer, so QEMU provides a built-in tracer called 'simpletrace'. Although it's features are modest, it offers a Python module for writing custom analysis scripts. This makes it a powerful tracer during development. Tracing has been integrated into the very core of QEMU. Recent patches make it possible to trace just-in-time compiled code.


Stefan Hajnoczi

Stefan Hajnoczi has contributed to QEMU since 2010. He maintains the tracing subsystem, as well as the net subsystem and co-maintains the block layer. Stefan has worked on disk image formats, storage migration, and I/O performance optimization in QEMU at IBM's Linux Technology Center... Read More →

Monday October 13, 2014 10:15am - 10:45am CEST
Room 2

Attendees (0)