O'Reilly logo

Embedded Linux Projects Using Yocto Project Cookbook by Alex González

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Debugging, Tracing, and Profiling

In this chapter, we will cover the following recipes:

  • Analyzing core dumps
  • Native GDB debugging
  • Cross GDB debugging
  • Using strace for application debugging
  • Using the kernel's performance counters
  • Using static kernel tracing
  • Using dynamic kernel tracing
  • Using dynamic kernel events
  • Exploring Yocto's tracing and profiling tools
  • Tracing and profiling with perf
  • Using SystemTap
  • Using OProfile
  • Using LTTng
  • Using blktrace

Introduction

Debugging an embedded Linux product is a common task not only during development, but also in deployed production systems.

Application debugging in embedded Linux is different from debugging in a traditional embedded device in that we don't have a flat memory model with an operating system and applications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required