This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Systemtap Example showing user-space probing of applications
- From: William Cohen <wcohen at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Mon, 30 Nov 2009 14:12:13 -0500
- Subject: Re: Systemtap Example showing user-space probing of applications
- References: <4B071A31.10503@redhat.com>
On 11/20/2009 05:37 PM, William Cohen wrote:
> There are some applications such as Java-1.6.0-openjdk and postgresql that have
> user-space markers enabled in Fedora. It is very nice to have the user-space
> markers in these applications. However, these applications are a bit complicated
> and make it a more difficult to figure out how to add markers to a new
> application. In an effort to make it easier to see how to make use of probes in
> the application code I have been working on a very trivial example, heapsort.
> The code appears to work at this point and things are packaged as a source rpm.
> More writeup is needed to describe how this works in the packages README.
>
> I have made the srpm available at:
>
> http://people.redhat.com/wcohen/heapsort-0.1-1.fc10.src.rpm
>
> Feedback on the current srpm would be appreciated. I plan to present this
> material at Toronto FudCon December 5-7.
>
> -Will
>
Hi All,
I have update the examples README bit, the new version is at:
http://people.redhat.com/wcohen/fudcon2009/heapsort-0.3-1.fc12.src.rpm
I know that the userspace markers are not going to work on ia64, but I
haven't tried this out on PPC. Does someone know off hand whether the
userspace markers currently work on ppc machines?
-Will