This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Probing executables specified as command line arguments
- From: Malte Forkel <malte dot forkel at berlin dot de>
- To: systemtap at sources dot redhat dot com
- Date: Thu, 06 Sep 2012 18:45:10 +0200
- Subject: Re: Probing executables specified as command line arguments
- References: <k2a7f4$u2d$1@ger.gmane.org> <y0mmx13us6n.fsf@fche.csb>
Am 06.09.2012 16:44, schrieb Frank Ch. Eigler:
>
> The closest match is probably a sample script [1], which does
> something like:
>
> %( $# >= 1 %? probe process(@1).function("*").call { ... } %)
> %( $# >= 2 %? probe process(@2).function("*").call { ... } %)
>
> [1] http://sourceware.org/systemtap/examples/general/eventcount.stp
>
Thanks for your helpl! It doesn't look that pretty, but it works. Wrote
a Python script to write the SystemTap script :-)
Malte