This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6562] $SYSTEMTAP_DEBUGINFO_PATH does not work
- From: "srinivasa at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 28 May 2008 15:05:25 -0000
- Subject: [Bug runtime/6562] $SYSTEMTAP_DEBUGINFO_PATH does not work
- References: <20080526073449.6562.prasad@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.