From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28900 invoked by alias); 28 May 2008 15:06:11 -0000 Received: (qmail 28655 invoked by uid 48); 28 May 2008 15:05:25 -0000 Date: Wed, 28 May 2008 16:57:00 -0000 Message-ID: <20080528150525.28653.qmail@sourceware.org> From: "srinivasa at in dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20080526073449.6562.prasad@linux.vnet.ibm.com> References: <20080526073449.6562.prasad@linux.vnet.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/6562] $SYSTEMTAP_DEBUGINFO_PATH does not work X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00457.txt.bz2 ------- 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.