Probing executables specified as command line arguments

Malte Forkel malte.forkel@berlin.de
Thu Sep 6 13:20:00 GMT 2012


Hello,

I hope this is the right place for the following question...

I'd like to write a script that probes all function calls in the
executables specified as command line arguments, something like the
following semi-pseudo code:

for (i=1; i<=@#; i++) {
  probe process(@i).function("*").call {
    ...
  }
}

How can do this with the systemtap language?

Thanks,
Malte



More information about the Systemtap mailing list