Book

Linux Kernel Debugging

Linux Kernel Debugging is a modern up-to-date take on the key topic of kernel debugging. It covers in detail powerful open source tools and many advanced techniques (including and far beyond the printk!) to debug kernel modules, device drivers, and the kernel itself. This is a key skill that any professional developer must learn and possess.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

21h16m

Language

English

About Book

Who Is This Book For?

This book is for Linux kernel developers, module/driver authors, and testers interested in debugging and enhancing their Linux systems at the level of the kernel. System administrators who want to understand and debug the internal infrastructure of their Linux kernels will also find this book useful. A good grasp on C programming and the Linux command line is necessary. Some experience with kernel (module) development will help you follow along.

Book content

chapters 21h16m total length

A General Introduction to Debugging Software

Approaches to Kernel Debugging

Debug via Instrumentation – printk and Friends

Debug via Instrumentation – Kprobes

Debugging Kernel Memory Issues – Part 1

Debugging Kernel Memory Issues – Part 2

Oops! Interpreting the Kernel Bug Diagnostic

Lock Debugging

Tracing the Kernel Flow

Kernel Panic, Lockups, and Hangs

Using Kernel GDB (KGDB)

A Few More Kernel Debugging Approaches

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required