This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
debuginfo path
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 30 May 2008 17:23:32 +0800
- Subject: debuginfo path
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