A kernel debugger that allows Python scripts to access data structures in
a running kernel was the topic of Omar Sandoval’s plenary session at the
2019 Linux Storage, Filesystem, and Memory-Management Summit (LSFMM). In
his day job at Facebook, Sandoval does a fair amount of kernel debugging
and he found the existing tools to be lacking. That led him to build drgn, which is a debugger built
into a Python library.
Source: LWN.net – [$] A kernel debugger in Python: drgn