This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
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 15:11:59 +0200
- Subject: 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