This is the definitive guide to Linux software debugging and performance optimization at both the kernel and application levels. Using extensive Linux code examples, Steve Best systematically introduces open source tools and best-practice techniques for delivering bug-free, well-tuned code.
Chapter 1 Profiling 1
Chapte 2 Code coverage 37
Chapte 3 GNU debugger (gdb) 53
Chapte 4 Memory management debugging 81
Chapte 5 System information (/proc) 111
Chapte 6 System tools 151
Chapte 7 System error messages 187
Chapte 8 Event logging 211
Chapte 9 Linux trace toolkit 233
Chapte 10 Oprofile : profiler supported by the kernel 261
Chapte 11 User-model Linux 291
Chapte 12 Dynamic probes 315
Chapte 13 Kernel-level debuggers (kgdb and kdb) 333
Chapte 14 Crash dump 371