debuginfo path

Wenji Huang wenji.huang@oracle.com
Fri May 30 16:42:00 GMT 2008


Hi,

The commit 921d61030221bc5ff27f8d63d3fa30e93f659484 made the debuginfo 
path could be specified with absolute path.

But one question, How about relative path, which it will begin with?

And the update in debugpath.exp

[...]
  set test "debugpath-good"

-spawn env SYSTEMTAP_DEBUGINFO_PATH=:/usr/lib/debug:build stap -e "probe 
kernel.function(\"sys_open\") {}" -p2

+set uname [exec /bin/uname -r]

+spawn env SYSTEMTAP_DEBUGINFO_PATH=/lib/modules/$uname/build stap -e 
"probe kernel.function(\"sys_open\") {}" -p2
[...]

I think we need to cover the installed kernel-debuginfo case which will 
put vmlinux under /usr/lib/debug/lib/modules/`uname -r`/


Regards,
Wenji



More information about the Systemtap mailing list