Skip to Main Content
Mastering Embedded Linux Programming - Third Edition
book

Mastering Embedded Linux Programming - Third Edition

by Frank Vasquez, Chris Simmonds
May 2021
Intermediate to advanced content levelIntermediate to advanced
758 pages
16h 17m
English
Packt Publishing
Content preview from Mastering Embedded Linux Programming - Third Edition

Chapter 20: Profiling and Tracing

Interactive debugging using a source-level debugger, as described in the previous chapter, can give you an insight into the way a program works, but it constrains your view to a small body of code. In this chapter, we will look at the larger picture to see whether the system is performing as intended.

Programmers and system designers are notoriously bad at guessing where bottlenecks are. So if your system has performance issues, it is wise to start by looking at the full system and then work down, using more sophisticated tools as you go. In this chapter, I'll begin with the well-known top command as a means of getting an overview. Often the problem can be localized to a single program, which you can analyze ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Embedded Linux Programming - Second Edition

Mastering Embedded Linux Programming - Second Edition

Chris Simmonds
Understanding the Linux Kernel, 3rd Edition

Understanding the Linux Kernel, 3rd Edition

Daniel P. Bovet, Marco Cesati

Publisher Resources

ISBN: 9781789530384Supplemental Content