[go: up one dir, main page]

|
|
Log in / Subscribe / Register

A kernel debugger in Python: drgn

A kernel debugger in Python: drgn

Posted May 30, 2019 21:40 UTC (Thu) by vbabka (subscriber, #91706)
In reply to: A kernel debugger in Python: drgn by quotemstr
Parent article: A kernel debugger in Python: drgn

Exactly. I have implemented very extensive SLAB integrity checking in crash-python (reports much more problems than crash), and I plan to do the same for SLUB soon. And the number of one-off scripts is increasing, I should consolidate them into commands - recently it was a check for page allocator pcplists integrity, for example. Perhaps the most complex one was a script that walked page tables of every process and calculated the mapcount for each page, to check against the one stored in the struct page. Imagine doing that with crash and the usual process of dumping stuff, postprocessing it and perhaps generating more commands to dump more stuff etc.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds