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]

Re: Failures with exelib.exp testcase (was Re: minutes 2010-08-19)


On Wed, Feb 02, 2011 at 01:59:11PM +0100, Mark Wielaard wrote:
> On Wed, 2011-02-02 at 17:44 +0530, K.Prasad wrote:
> > On Sat, Jan 22, 2011 at 12:16:19AM +0100, Mark Wielaard wrote:
> > > Maybe this is a little too naive, but would it be as simple as the
> > > attached? I don't actually have any powerpc machine to check.
> > > 
> >   I haven't really gone through the patch yet but tested them on a ppc64
> > box and the tests still seem to fail (the output of systemtap.log of a
> > partial testsuite run is attached).
> 
> If at all possible lets try with the simple testcase that you posted
> earlier. If you could just post the output of that and the generated
> stap-symbols.h file that would make it a bit easier to analyze what is
> going on.
> 

Oh yes, I could have done that.

> $ stap -vvv -k -e 'probe
> process("/home/prasadkr/helloworld").function("print_hw")
> { printf("0x%x : %s\n", uaddr(), usymdata(uaddr())) }' -c ./helloworld
> 
> Thanks,
> 
> Mark
> 

Please find the output of the above probe pasted below and the contents
of stap-symbols.h in the attachment.

# stap -v -k -e 'probe
process("/home/prasadkr/helloworld").function("print_hw")
{ printf("0x%x : %s\n", uaddr(), usymdata(uaddr())) }' -c ./helloworld
Pass 1: parsed user script and 75 library script(s) using 38528virt/30592res/7872shr kb, in 240usr/0sys/246real ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 4 embed(s), 0 global(s) using 143744virt/33216res/9088shr kb, in 30usr/120sys/194real ms.
Pass 3: translated to C into "/tmp/staps7Q0qG/stap_17236.c" using 143296virt/32896res/8960shr kb, in 20usr/110sys/129real ms.
Pass 4: compiled C into "stap_17236.ko" in 2730usr/350sys/3105real ms.
Pass 5: starting run.
Hello world
0x10000530 : 00000011.plt_call.__libc_start_main@@GLIBC_2.3+0+0x188/0x350 [/home/prasadkr/helloworld]
Pass 5: run completed in 10usr/60sys/122real ms.
Keeping temporary directory "/tmp/staps7Q0qG"
# 

Attachment: stap-symbols.h.mjw_patched
Description: Text document


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