AMUNET - The best leak aggregator!

Dear Friends, On the Amunet forum, we aggregating and posting data from more than a hundreds different sources, and we will also tell you about new high sensitive leaks and news in the IT and information security.

Best Regards, Amunet Support Team


Linux Kernel Debugging: Leverage open source tools and advanced techniques to debug Linux kernel or module issues (2022) [EN]

Apr 14, 2022
43
0

Мануал/Книга Linux Kernel Debugging: Leverage open source tools and advanced techniques to debug Linux kernel or module issues (2022)

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 thorough guide to advanced kernel debugging.
This book covers a range of debugging techniques in detail, starting with instrumentation-based debugging techniques, the kernel's powerful Kprobes framework, printk, and friends. The book features two whole chapters devoted to the tools and techniques for debugging memory-related bugs. It also prepares you to interpret the underlying issue when the Linux kernel throws an oops. As you advance through the chapters, you'll be able to demystify concurrency by learning what data races are and how to handle them, including the use of modern features like Kernel Concurrency Sanitizer (KCSAN). You'll also discover how to overcome some thorny issues related to debugging and performance through detailed kernel-level tracing and learn to wield the power of Ftrace and its frontends. What's more? The book shows you how to deal with kernel hangs and panic, leverage the venerable GDB tool within the kernel, and much more.
By the time you complete reading this debugging kernel book, you'll have at your disposal, a whole range of powerful debug tools and techniques, along with a keen sense as to when to use which.

[RU]
Ядро Linux является основой, пожалуй, самой лучшей в мире ОС производственного качества. Однако его отладка может оказаться сложным занятием. Linux Kernel Debugging - это подробное руководство по продвинутой отладке ядра. В книге подробно рассматривается целый ряд методов отладки, начиная с методов отладки на основе инструментов, мощного фреймворка Kprobes ядра, printk и других. В книге целых две главы посвящены инструментам и методам отладки ошибок, связанных с памятью. Она также подготовит вас к интерпретации основной проблемы, когда ядро Linux выдает ошибку. По мере продвижения по главам вы сможете демистифицировать параллелизм, узнав, что такое гонки данных и как с ними бороться, включая использование современных функций, таких как Kernel Concurrency Sanitizer (KCSAN). Вы также узнаете, как преодолеть некоторые острые проблемы, связанные с отладкой и производительностью, с помощью детальной трассировки на уровне ядра и научитесь использовать возможности Ftrace и его интерфейсов. Более того, книга покажет вам, как бороться с зависаниями и паникой ядра, как использовать почтенный инструмент GDB в ядре и многое другое. К моменту завершения чтения этой книги по отладке ядра в вашем распоряжении будет целый ряд мощных инструментов и методов отладки, а также четкое понимание того, когда какие из них следует использовать.

Log in or register now. to view Spoiler content!