This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Changes to systemtap transport
On Thu, 2007-03-15 at 10:27 -0700, Mike Mason wrote:
> I tried the latest CVS and can't get any output from a "Hello World" script now. At first I thought I might have an old staprun installed, which I did. I removed it, but I'm still seeing the problem. What else should I check?
Does this output anything?
> stap -e 'probe begin {print("Hello World\n");exit()}'
If not, please give OS and build details and the output of
> stap -vve 'probe begin {print("Hello World\n");exit()}'
If those work try bulk mode:
> stap -be 'probe begin {print("Hello World\n");exit()}'
> ls -l stpd_cpu*
-rw-r--r-- 1 root root 0 Mar 15 13:46 stpd_cpu0
-rw-r--r-- 1 root root 20 Mar 15 13:46 stpd_cpu1
If you are trying the no_header options,
> stap -DNO_PERCPU_HEADERS -be 'probe begin {print("Hello World
\n");exit()}'
> cat stpd_cpu*
Hello World
Martin