
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

Building Trust - Use Cases and Implementation of TPM 2.0 in Embedded Linux Systems
- Anna-Lena Marx
- May 16, 2025
- Embedded , Conferences
Artwork by: Sparkelle (Yan) — Licensed under Creative Commons BY-SA 4.0
As embedded systems become increasingly interconnected, the demand for robust platform security and integrity has surged. Trusted Platform Modules (TPM), currently in version 2.0, are becoming increasingly beneficial for enhancing security in embedded systems. TPMs provide hardware-backed mechanisms for critical functions such as random number generation, cryptographic key generation, key binding and data sealing.
This presentation will explore the capabilities of TPM 2.0, focusing on several practical use cases, including:
Read Post
Building a Yocto Pipeline with KAS, GitHub Actions and AWS
- Anna-Lena Marx
- November 29, 2023
- Embedded , Conferences
Using KAS makes handling Yocto Projects easy. By shipping its own container with all needed dependencies, building sophisticated CI pipelines becomes pretty easy - in theory, or when using Gitlab.
But using GitHub as a code hosting platform with self-managed Action runners on AWS comes with a set of unexpected challenges.
Anna-Lena will talk about her quest through GitHub Actions, the Cloud and how to tame them.
The talk aims to point the audience to the obstacles when building CI pipelines for the Yocto Project with KAS, GitHub Actions, and custom action runners on AWS and strategies to handle them.

Organizing My Desk as an Embedded Engineer
- Anna-Lena Marx
- August 9, 2023
- Embedded
As an embedded dev, my desk is always a mess (and I think the ones of my colleagues, too). Working with real hardware leads straight to a number of boards, additional debuggers, tools, cables and more. And of course, as the most developers, I have a number of work projects and another of private ones. Even worse, I’m working from home for a good share of my time, so both kinds contribute to the mess there. Managing this is a constant effort and fight, but rarely successful.
Read Post