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]

Re: Probing executables specified as command line arguments


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




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