Probing executables specified as command line arguments
Frank Ch. Eigler
fche@redhat.com
Thu Sep 6 14:44:00 GMT 2012
malte.forkel wrote:
> I hope this is the right place for the following question...
Sure!
> [...]
> for (i=1; i<=@#; i++) {
> probe process(@i).function("*").call {
> ...
> }
> }
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
- FChE
More information about the Systemtap
mailing list