
Advanced System Profiling, Tracing and Trace Analysis with Perfetto in Android and Yocto
- Anna-Lena Marx
- Embedded , Conferences
- October 8, 2024
Together with my colleague Stefan Lengfeld.
Tracing is a capable mechanism for deep system analysis and profiling with a minimal overhead. By recording defined system events, in Linux but also Android, tracing can be used to analyze concurrency or latency issues, for example. Android’s systrace tool made it easy to analyze and correlate traces and events due to a graphical UI, in order to help developers identify performance bottlenecks. The successor to this advanced and convenient tool is called Perfetto. It’s available for pure Linux too, and part of Yocto (meta-oe) since Langdale now. In the talk, we’ll have a look into
- using Perfetto with Android and Yocto,
- adding trace events to your applications,
- recording traces and
- analyzing system and application traces with the graphical GUI.
This will allow you to take full advantage of the Perfetto trace viewer UI for analyzing memory usage, CPU scheduling, latency and more.
Presented at
- Open Source Summit Europe, Vienna, Austria, 2024
Related Posts

Yocto on the Edge - Unusual challenges when building not so embedded systems
- Anna-Lena Marx
- October 8, 2024
- Embedded , Conferences
Building embedded systems with Yocto on ARM platforms is a common practice, but when the products move further to the edge and become less “embedded,” new challenges arise. In this session, we will explore the requirements and challenges faced when developing Yocto-based systems for edge computing based on Intel.
Read Post
Android Automotive OS: A short introduction into Google's AAOS
- Anna-Lena Marx
- April 2, 2024
- Embedded , Conferences
Android, or the Android Open Source Project (AOSP), is primarily known from the smartphone market. What is less well known, however, is that the AOSP also provides a good basis for embedded systems and ensures a pleasant reading experience on eReaders, for example.
Read Post
How a modern Yocto setup could look like
- Anna-Lena Marx
- November 20, 2022
- Embedded , Conferences
In 2015, we built a sophisticated meeting room information system based on Android Things as a student project. As Android Things was deprecated in 2021, we started to use our Yocto Project experience to develop a maintainable, future proof embedded system.
Read Post