Yocto Project Profiling and Tracing Manual

Tom Zanussi

Intel Corporation

Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-Share Alike 2.0 UK: England & Wales as published by Creative Commons.

Note

Due to production processes, there could be differences between the Yocto Project documentation bundled in the release tarball and the Yocto Project Tracing and Profiling Manual on the Yocto Project website. For the latest version of this manual, see the manual on the website.
Revision History
Revision 1.4 April 2013
Released with the Yocto Project 1.4 Release.
Revision 1.4.1 June 2013
Released with the Yocto Project 1.4.1 Release.
Revision 1.4.2 August 2013
Released with the Yocto Project 1.4.2 Release.

Table of Contents

1. Yocto Project Tracing and Profiling Manual
1.1. Introduction
1.2. General Setup
2. Overall Architecture of the Linux Tracing and Profiling Tools
2.1. Architecture of the Tracing and Profiling Tools
3. Basic Usage (with examples) for each of the Yocto Tracing Tools
3.1. perf
3.1.1. Setup
3.1.2. Basic Usage
3.1.3. Documentation
3.2. ftrace
3.2.1. Setup
3.2.2. Basic ftrace usage
3.2.3. The 'trace events' Subsystem
3.2.4. trace-cmd/kernelshark
3.2.5. Documentation
3.3. systemtap
3.3.1. Setup
3.3.2. Running a Script on a Target
3.3.3. Documentation
3.4. oprofile
3.4.1. Setup
3.4.2. Basic Usage
3.4.3. OProfileUI - A GUI for OProfile
3.4.4. Documentation
3.5. Sysprof
3.5.1. Setup
3.5.2. Basic Usage
3.5.3. Documentation
3.6. LTTng (Linux Trace Toolkit, next generation)
3.6.1. Setup
3.6.2. Collecting and Viewing Traces
3.6.3. Documentation
3.7. blktrace
3.7.1. Setup
3.7.2. Basic Usage
3.7.3. Documentation
4. Real-World Examples
4.1. Slow Write Speed on Live Images