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: semantic error


Now the command doesn't return at all:

sles11sp1:~/systemtap-2.0-11151/bin # time SYSTEMTAP_RUNTIME=/root/systemtap-2.0-11151/share/systemtap/runtime SYSTEMTAP_TAPSET=/root/systemtap-2.0-11151/share/systemtap/tapset ./stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 89 library script(s) using 40480virt/20804res/1928shr/19460data kb, in 140usr/10sys/145real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 3 embed(s), 0 global(s) using 184632virt/93828res/6092shr/86576data kb, in 980usr/70sys/2963real ms.
Pass 3: translated to C into "/tmp/stapZOEqQy/stap_e3c44decc9b9ce95ac6db0284b62d776_1713_src.c" using 176664virt/90616res/4780shr/86576data kb, in 0usr/0sys/5real ms.
Pass 4: compiled C into "stap_e3c44decc9b9ce95ac6db0284b62d776_1713.ko" in 3980usr/600sys/33562real ms.
Pass 5: starting run.
Write failed: Broken pipe
mchoube@udesk:~$



Thanks,
Mehul

-----Original Message-----
From: Frank Ch. Eigler [mailto:fche@redhat.com] 
Sent: Monday, January 21, 2013 8:37 PM
To: Mehul Choube
Cc: systemtap@sourceware.org
Subject: Re: semantic error

Mehul Choube <Mehul_Choube@symantec.com> writes:

> [...]
> I am trying to build and run systemtap 2.0 on SLES 11 SP1. The build
> was successful but 'stap' gives semantic error while running though
> SYSTEMTAP_RUNTIME and SYSTEMTAP_TAPSET is set. Please check
> http://pastebin.com/iAdNsg9C

This sounds like a conflict between your personal stap build and the
system one.  If http://sourceware.org/PR12443 was responsible, try
% unset XDG_DATA_DIRS 
% /root/.../stap ...

- FChE


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