From: Jeff Moyer <jmoyer@redhat.com>
To: fche@redhat.com (Frank Ch. Eigler)
Cc: systemtap@sourceware.org
Subject: Re: [PATCH 3/3] io_submit.stp: let the user know when the script is loaded
Date: Tue, 29 May 2018 15:01:00 -0000 [thread overview]
Message-ID: <x491sdu5wx7.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <878t838vxq.fsf@redhat.com> (Frank Ch. Eigler's message of "Mon, 28 May 2018 14:41:21 -0400")
fche@redhat.com (Frank Ch. Eigler) writes:
> 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.
I didn't know I could do that. Thanks!
-Jeff
next prev parent reply other threads:[~2018-05-29 15:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 19:25 io_submit.stp: various fixes Jeff Moyer
2018-05-11 19:25 ` [PATCH 2/3] io_submit.stp: use an accumulator for traces Jeff Moyer
2018-05-11 19:25 ` [PATCH 3/3] io_submit.stp: let the user know when the script is loaded Jeff Moyer
2018-05-28 18:41 ` Frank Ch. Eigler
2018-05-29 15:01 ` Jeff Moyer [this message]
2018-05-11 19:25 ` [PATCH 1/3] io_submit.stp: fix array membership test Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x491sdu5wx7.fsf@segfault.boston.devel.redhat.com \
--to=jmoyer@redhat.com \
--cc=fche@redhat.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).