Systemtap Example showing user-space probing of applicatoins
William Cohen
wcohen@redhat.com
Fri Nov 20 22:38:00 GMT 2009
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
More information about the Systemtap
mailing list