Linux Debugging and Performance Tuning: Tips and Techniques (Paperback)

Steve Best

  • 出版商: Prentice Hall
  • 出版日期: 2005-10-20
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 456
  • 裝訂: Paperback
  • ISBN: 0131492470
  • ISBN-13: 9780131492479
  • 相關分類: Linux
  • 立即出貨 (庫存 < 3)




Learn Linux debugging and optimization—at kernel and application levels—hands-on!

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.

Drawing on his exceptional experience optimizing Linux systems for IBM, Best covers issues ranging from memory management and I/O to system processes and kernel bug messages. You'll walk through real debugging sessions, discovering the strategies experts use to debug even the most complex application- and kernel-related problems. You'll master sophisticated profiling techniques for identifying and resolving bottlenecks more quickly and learn how to capture the right data in the event of trouble. Coverage includes

  • Bottleneck identification

  • Code coverage

  • Debuggers: gdb, kgdb, and KDB

  • Memory management

  • /proc kernel data analysis

  • System process monitoring

  • Network performance

  • Oops bug messages

  • Syslog and event logging

  • Execution traces

  • Profiling kernel behavior

  • Cache misses

  • User-Mode Linux

  • Dynamic probes

  • Crash dump analysis

  • And more...

Linux® Debugging and Performance Tuning will be indispensable for every developer who needs to supercharge the Linux kernel and applications, and for every administrator and support specialist who must resolve Linux reliability or performance issues.



Table of Contents:



About the Author.


1. Profiling.

2. Code Coverage.

3. GNU Debugger (gdb).

4. Memory Management Debugging.

5. System Information (/proc).

6. System Tools.

7. System Error Messages.

8. Event Logging.

9. Linux Trace Toolkit.

10. oprofile: a Profiler Supported by the Kernel.

11. User-Mode Linux.

12. Dynamic Probes.

13. Kernel-Level Debuggers (kgdb and kdb).

14. Crash Dump.



這是一本關於Linux軟體除錯和性能優化的權威指南,涵蓋了內核和應用程式兩個層面。作者Steve Best使用大量的Linux程式碼範例,系統地介紹了開源工具和最佳實踐技巧,以提供無錯誤且調校良好的程式碼。


- 瓶頸識別
- 程式碼覆蓋率
- 調試器:gdb、kgdb和KDB
- 記憶體管理
- /proc內核數據分析
- 系統進程監控
- 網絡性能
- Oops錯誤訊息
- Syslog和事件記錄
- 執行追蹤
- 內核行為分析
- 快取未命中
- 使用者模式Linux
- 動態探針
- 崩潰轉儲分析
- 以及更多...


- 前言
- 致謝
- 關於作者
- 簡介
- 1. 分析
- 2. 程式碼覆蓋率
- 3. GNU調試器(gdb)