This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Probing executables specified as command line arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]