This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/6562] $SYSTEMTAP_DEBUGINFO_PATH does not work


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]