Home > Store > Open Source

Debugging Linux Systems (Digital Short Cut)

Register your product to gain access to bonus material or receive a coupon.

Debugging Linux Systems (Digital Short Cut)

eBook (Watermarked)

  • Your Price: $7.99
  • List Price: $9.99
  • About Watermarked eBooks
  • This PDF will be accessible from your Account page after purchase and requires the free Adobe® Reader® software to read it.

    The eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

    Watermarked eBook FAQ


  • Copyright 2010
  • Dimensions: 10-1/2 X 7-3/4
  • Pages: 91
  • Edition: 1st
  • eBook (Watermarked)
  • ISBN-10: 0-13-612354-6
  • ISBN-13: 978-0-13-612354-5

Debugging Linux Systems discusses the main tools available today to debug 2.6 Linux Kernels. We start by exploring the seemingly esoteric operations of the Kernel Debugger (KDB), Kernel GNU DeBugger (KGDB), the plain GNU DeBugger (GDB), and JTAG debuggers. We then investigate Kernel Probes, a feature that lets you intrude into a kernel function and extract debug information or apply a medicated patch. Analyzing a crash dump can yield clues for postmortem analysis of kernel crashes or hangs, so we take a look at Kdump, a serviceability tool that collects a system dump after spawning a new kernel. Profiling points you to code regions that burn more CPU cycles, so we learn to use the OProfile kernel profiler and the gprof application profiler to sense the presence of code bottlenecks. Because tracing provides insight into behavioral problems that manifest during interactions between different code modules, we delve into the Linux Trace Toolkit, a system designed for high-volume trace capture.

The section “Debugging Embedded Linux” takes a tour of the I/O interfaces commonly found on embedded hardware, such as flash memory, serial port, PCMCIA, Secure Digital media, USB, RTC, audio, video, touch screen, and Bluetooth, and provides pointers to debug the associated device drivers. We also pick up some board-level debugging skills with the help of a case study. The section “Debugging Network Throughput” takes you through some device driver design issues and protocol implementation characteristics that can affect the horsepower of your network interface card. We end the shortcut by examining several options available in the kernel configuration menu that can emit valuable debug information.

Sample Content

Sample Pages

Download the sample pages (includes Chapter 2 and Index)

Table of Contents

Product Description    3

Kernel Version    4

Book Website    4

Conventions Used    4

Dedication    5

Kernel Debuggers    6

Kernel Probes    25

Kexec and Kdump    41

Profiling    54

Tracing    61

Debugging Embedded Linux    67

Debugging Network Throughput    83

Linux Test Project    86

User Mode Linux    87

Diagnostic Tools    87

Kernel Hacking Config Options    87


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership