[Bug runtime/6562] $SYSTEMTAP_DEBUGINFO_PATH does not work
srinivasa at in dot ibm dot com
sourceware-bugzilla@sourceware.org
Wed May 28 16:57:00 GMT 2008
------- Additional Comments From srinivasa at in dot ibm dot com 2008-05-28 15:05 -------
Created an attachment (id=2761)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2761&action=view)
Patch to specify absolute path from SYSTEMTAP_DEBUGINFO_PATH variable
This patch makes us to assign absolute path to SYSTEMTAP_DEBUGINFO_PATH
environment variable.
eg:- export SYSTEMTAP_DEBUGINFO_PATH=/home/srini/systemtap/linux-2.6.26-rc3
This will make systemtap to look for vmlinux in SYSTEMTAP_DEBUGINFO_PATH dir
and resolves symbol based on that.
dwfl_linux_kernel_report_offline() of elfutils library allows us to pass
absolute path for searching debuginfo. Incase if SYSTEMTAP_DEBUGINFO_PATH is
not set, systemtap passes kernel_release string and hence debuginfo is searched
in /boot/vmlinux-`uname -r` or /lib/modules/.
Please let me know your comments.
Thanks
Srinivasa DS
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6562
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list