Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

Leveraging Compiler Code Instrumentation for Zephyr Tracing and Profiling Tools

Linux Foundation via YouTube

Overview

Explore a 41-minute conference talk that introduces a platform-neutral subsystem for Zephyr tracing and profiling based on compiler function instrumentation. Learn how to leverage the -finstrumentation-functions flag in Clang and GCC compilers to generate code tracing and profiling information without relying on proprietary tools or platform-specific limitations. Discover the potential applications of this new tool, including creating instrumented call graphs with timestamps and calculating runtime metrics for top functions. Gain insights into various data visualization methods, such as flame graphs, to effectively analyze the collected information. Understand how this approach overcomes the limitations of existing profiling and tracing features in Zephyr, offering a more versatile and accessible solution for developers working with the Zephyr real-time operating system.

Syllabus

Leveraging Compiler Code Instrumentation for Zephyr Tracing &... - Gustavo Romero & Kevin Townsend

Taught by

Linux Foundation

Reviews

Start your review of Leveraging Compiler Code Instrumentation for Zephyr Tracing and Profiling Tools

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.