Description of problem: SystemTap uses elfutils to find the kernel information. The current set of paths searched works fine for stock RPMs installed: - systemtap looks for the debug info in these locations: /boot/vmlinux-`uname -r` /usr/lib/debug/lib/modules/`uname -r`/vmlinux /lib/modules/`uname -r`/vmlinux However, for locally built custombuild kernels elfutils should also check in /lib/modules/`uname -r`/build/vmlinux Version-Release number of selected component (if applicable): elfutils-0.119 How reproducible: Always Steps to Reproduce: 1. Build kernel locally, e.g. make 2. Install kernel, "make modules_install install" 3. Boot locally built kernel 4. Uses systemtap to attempt to place probe in kernel Actual results: systemtap can't find vmlinux file Expected results: systemtap finds vmlinux and instruments kernel Additional info:
Created attachment 131219 [details] add /lib/modules/`uname -r`/build/vmlinux to places to check
The right fix is for systemtap to use more customized interfaces.