/python-pahole-utility

A tool for dumping linux debug kernel structures using pahole

Primary LanguagePythonMIT LicenseMIT

python-pahole-utility

A tool for dumping linux debug kernel structures using pahole

pahole

Reference: https://groups.google.com/forum/#!searchin/vmitools/pahole/vmitools/vZh5spoVN9g/byVCCvuLBwAJ

Installation and Execution

  1. Search for “Where to get Debug Symbols for X” at this address: https://wiki.ubuntu.com/Kernel/Systemtap to get a debug kernel

  2. Install pahole

    $ sudo apt-get install dwarves

    $ cd /usr/lib/debug/boot

  3. Execute

    Run pahole -C

    example: pahole -C task-struct vmlinux-3.13.0-79-generic