This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Systemtap Example showing user-space probing of applicatoins
- From: William Cohen <wcohen at redhat dot com>
- To: Systemtap List <systemtap at sources dot redhat dot com>
- Date: Fri, 20 Nov 2009 17:37:37 -0500
- Subject: Systemtap Example showing user-space probing of applicatoins
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