A tool for dumping linux debug kernel structures using pahole
Reference: https://groups.google.com/forum/#!searchin/vmitools/pahole/vmitools/vZh5spoVN9g/byVCCvuLBwAJ
Installation and Execution
-
Search for “Where to get Debug Symbols for X” at this address: https://wiki.ubuntu.com/Kernel/Systemtap to get a debug kernel
-
Install pahole
$ sudo apt-get install dwarves
$ cd /usr/lib/debug/boot
-
Execute
Run pahole -C
example: pahole -C task-struct vmlinux-3.13.0-79-generic