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: [PATCH 3/3] io_submit.stp: let the user know when the script is loaded


jmoyer wrote:

> I often find myself checking lsmod to see when the script is finally
> ready to collect data.  Just print a message from the begin probe to
> make it obvious when the script is ready.
> [...]
> +probe begin {
> +  printf("Ready!\n")
> +}

I merged this and the other patches (thanks!).  For the record though,
one may prefer a solution like

cat >> $HOME/.systemtap/rc
-E 'probe begin { printf("Ready!\n") }'
^D

so that every stap script you use automagically gets that extra probe
added on.


- FChE


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