Linux Kernel Debugging

Leverage proven tools and advanced techniques to effectively debug Linux kernels and kernel modules



Bookstore > Books > Linux Kernel Debugging

Price$28.49 - $57.62
Rating
AuthorKaiwan N Billimoria
PublisherPackt Publishing
Published2022
Pages638
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101801075034
ISBN-139781801075039
EBook Hardcover Paperback

The Linux kernel is at the very core of arguably the world's best production-quality OS. Debugging it, though, can be a complex endeavor.

Linux Kernel Debugging is a comprehensive guide to learning all about advanced kernel debugging. This book covers many areas in-depth, such as instrumentation-based debugging techniques (printk and the dynamic debug framework), and shows you how to use Kprobes. Memory-related bugs tend to be a nightmare - two chapters are packed with tools and techniques devoted to debugging them. When the kernel gifts you an Oops, how exactly do you interpret it to be able to debug the underlying issue? We've got you covered. Concurrency tends to be an inherently complex topic, so a chapter on lock debugging will help you to learn precisely what data races are, including using KCSAN to detect them. Some thorny issues, both debug- and performance-wise, require detailed kernel-level tracing; you'll learn to wield the impressive power of Ftrace and its frontends. You'll also discover how to handle kernel lockups, hangs, and the dreaded kernel panic, as well as leverage the venerable GDB tool within the kernel (KGDB), along with much more.

By the end of this book, you will have at your disposal a wide range of powerful kernel debugging tools and techniques, along with a keen sense of when to use which.



Similar Books


Linux Kernel Development, 3rd Edition

Linux Kernel Development, 3rd Edition

by Robert Love

Linux Kernel Development details the design and implementation of the Linux kernel, presenting the content in a manner that is beneficial to those writing and developing kernel code, as well as to programmers seeking to better understand the operating system and become more efficient and productive in their coding.The book details the maj...

Price:  $28.05  |  Publisher:  Addison-Wesley  |  Release:  2010

Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

by Greg Kroah-Hartman

Written by a leading developer and maintainer of the Linux kernel,Linux Kernel in a Nutshell is a comprehensiveoverview of kernel configuration and building, a critical task forLinux users and administrators.No distribution can provide a Linux kernel that meets all users'needs. Computers big and small have special requirements that r...

Price:  $19.63  |  Publisher:  O'Reilly Media  |  Release:  2006

Linux Device Driver Development, 2nd Edition

Linux Device Driver Development, 2nd Edition

by John Madieu

Linux is by far the most-used kernel on embedded systems. Thanks to its subsystems, the Linux kernel supports almost all of the application fields in the industrial world. This updated second edition of Linux Device Driver Development is a comprehensive introduction to the Linux kernel world and the different subsystems that it is made of...

Price:  $52.24  |  Publisher:  Packt Publishing  |  Release:  2022

Linux Kernel Crash Book

Linux Kernel Crash Book

by Igor Ljubuncic

Linux crash analysis - this is a subject that has lots of unanswered mail threads and plain text documents scattered all over the place, inaccessible to almost everyone, save the tiny percentage of super geeks.My personal and professional interest in the last three years has taken me down the path of Linux kernel secrets, all the way into...

Free ebook  |  Publisher:  Self-publishing  |  Release:  2011

Understanding the Linux Kernel, 3rd Edition

Understanding the Linux Kernel, 3rd Edition

by Daniel P. Bovet, Marco Cesati

In order to thoroughly understand what makes Linux tick and why it works so well on a wide variety of systems, you need to delve deep into the heart of the kernel. The kernel handles all interactions between the CPU and the external world, and determines which programs will share processor time, in what order. It manages limited memory so...

Price:  $31.47  |  Publisher:  O'Reilly Media  |  Release:  2005

TCP/IP Architecture, Design and Implementation in Linux

TCP/IP Architecture, Design and Implementation in Linux

by Sameer Seth, M. Ajaykumar Venkatesulu

This book provides thorough knowledge of Linux TCP/IP stack and kernel framework for its network stack, including complete knowledge of design and implementation. Starting with simple client-server socket programs and progressing to complex design and implementation of TCP/IP protocol in linux, this book provides different aspects of sock...

Price:  $75.67  |  Publisher:  Wiley  |  Release:  2008

Understanding Linux Network Internals

Understanding Linux Network Internals

by Christian Benvenuti

If you've ever wondered how Linux carries out the complicated tasks assigned to it by the IP protocols - or if you just want to learn about modern networking through real-life examples - Understanding Linux Network Internals is for you.This book clearly explains the underlying concepts and teaches you how to follow the actual C code ...

Price:  $33.49  |  Publisher:  O'Reilly Media  |  Release:  2005

Linux Server Hacks

Linux Server Hacks

by Rob Flickenger

Linux Server Hacks is a collection of 100 industrial-strength hacks, providing tips and tools that solve practical problems for Linux system administrators. Every hack can be read in just a few minutes but will save hours of searching for the right answer. Some of the hacks are subtle, many of them are non-obvious, and all of them demonst...

Price:  $4.19  |  Publisher:  O'Reilly Media  |  Release:  2003