This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Failures with exelib.exp testcase (was Re: minutes 2010-08-19)
- From: Mark Wielaard <mjw at redhat dot com>
- To: prasad at linux dot vnet dot ibm dot com
- Cc: systemtap at sourceware dot org, Stan Cox <scox at redhat dot com>, dsmith at redhat dot com
- Date: Tue, 18 Jan 2011 15:56:13 +0100
- Subject: Re: Failures with exelib.exp testcase (was Re: minutes 2010-08-19)
- References: <20100830032810.GA5213@in.ibm.com> <1283152139.2362.2.camel@hermans.wildebeest.org> <20100830111805.GA4115@in.ibm.com> <1283169285.15128.20.camel@springer.wildebeest.org> <20101111121023.GA2597@in.ibm.com> <1289485749.2470.5.camel@hermans.wildebeest.org> <20110117145437.GA4251@in.ibm.com> <1295278356.2998.47.camel@springer.wildebeest.org> <20110118130836.GA2398@in.ibm.com> <1295357436.5442.13.camel@springer.wildebeest.org> <20110118143427.GA5538@in.ibm.com>
On Tue, 2011-01-18 at 20:04 +0530, K.Prasad wrote:
> It appears that the probe is placed on top of the stack...
What do you mean by that?
> pasting the relevant log here (while complete screen logs are attached).
>
> selected function print_hw
> prologue searching function 'print_hw' 0x10000530-0x10000570@/home/prasadkr/helloworld.c:4
> checking line record 0x10000530@/home/prasadkr/helloworld.c:5
> prologue found function 'print_hw' (naked) = 0x10000530
> probe print_hw@/home/prasadkr/helloworld.c:4 process=/home/prasadkr/helloworld reloc=.absolute pc=0x10000530
So, we actually are putting the probe at address 0x10000530, and uaddr()
does return that address from within the probe context. Good. But our
translation table doesn't contain "print_hw" at that address.
Could you check some things?
- Can you run it under gdb and put a breakpoint at print_hw,
which address does that give?
- What is the output of eu-readelf -s helloworld?
Thanks,
Mark