From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 945 invoked by alias); 27 May 2008 09:24:25 -0000 Received: (qmail 30379 invoked by alias); 27 May 2008 09:23:45 -0000 Date: Tue, 27 May 2008 19:31:00 -0000 Message-ID: <20080527092345.30378.qmail@sourceware.org> From: "wenji dot huang at oracle 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/msg00440.txt.bz2 ------- Additional Comments From wenji dot huang at oracle dot com 2008-05-27 09:23 ------- Subject: Re: New: $SYSTEMTAP_DEBUGINFO_PATH does not work prasad at linux dot vnet dot ibm dot com wrote: [...] > [root@prasadkr_t60p systemtap]# env | grep DEBUG > SYSTEMTAP_DEBUGINFO_PATH=/home/prasadkr/tryvmlinux/ > [root@prasadkr_t60p systemtap]# ls -lh /home/prasadkr/tryvmlinux/ > total 72M The debuginfo_path is a little weird. If we specify it begins with "/", such as "/home/prasadkr/tryvmlinux/", the real searching path will be "/home/prasadkr/tryvmlinux/lib/modules/xxx/vmlinux". And the relative path will begin with /lib/modules/xxx/, like "build" So you can make some addition under "tyrvmlinux" and take another test. I suggest that debugpath.exp should be strengthened to cover the self-built kernel case. diff --git a/testsuite/systemtap.base/debugpath.exp b/testsuite/systemtap.base/debugpath.exp index b0b1220..b6e5674 100644 --- a/testsuite/systemtap.base/debugpath.exp +++ b/testsuite/systemtap.base/debugpath.exp @@ -10,7 +10,7 @@ expect { wait set test "debugpath-good" -spawn env SYSTEMTAP_DEBUGINFO_PATH=:/usr/lib/debug stap -e "probe kernel.function(\"sys_open\") {}" -p2 +spawn env SYSTEMTAP_DEBUGINFO_PATH=:/usr/lib/debug:build stap -e "probe kernel.function(\"sys_open\") {}" -p2 expect { -re {kernel.function.*pc=} { pass $test } timeout { fail "$test (timeout2)" } -- 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.