This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Is it possible to use Systemtap without debuginfo?
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: deepak dot venkatesh at wipro dot com
- Cc: systemtap at sourceware dot org, bala dot venu at wipro dot com, giribalaji dot ragavan at wipro dot com
- Date: Fri, 18 Feb 2011 20:26:56 -0500
- Subject: Re: Is it possible to use Systemtap without debuginfo?
- References: <81939A763626854B8ECA106278B28F3402C7056E@BLR-SJP-MBX02.wipro.com> <20110217121947.GE19505@redhat.com> <81939A763626854B8ECA106278B28F3402CB8C82@BLR-SJP-MBX02.wipro.com> <20110217150939.GA1091@redhat.com> <81939A763626854B8ECA106278B28F3402CB8DF3@BLR-SJP-MBX02.wipro.com>
Hi -
> I was able to run the command "stap -ve 'probe begin { log("hello
> world") exit() }'". This was achieved by installing systemtap-1.4.
OK, good. See if this also works:
stap -tve '
probe kernel.function("sys_open") {}
probe process("stap").function("main") {}
' -c 'stap -V'
> Previously it was failing for systemtap-0.2.2. Please help on this.
Systemtap 0.2.2 was our very first release, almost six years ago, so
failures with that would not be surprising. Perhaps you meant 1.2?
Anyway, stick to 1.4 if you can.
- FChE