public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Jeff Moyer <jmoyer@redhat.com>
Cc: systemtap@sourceware.org
Subject: Re: [PATCH 3/3] io_submit.stp: let the user know when the script is loaded
Date: Mon, 28 May 2018 18:41:00 -0000	[thread overview]
Message-ID: <878t838vxq.fsf@redhat.com> (raw)
In-Reply-To: <20180511192552.12849-4-jmoyer@redhat.com> (Jeff Moyer's message	of "Fri, 11 May 2018 15:25:52 -0400")


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

  reply	other threads:[~2018-05-28 18:41 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 [this message]
2018-05-29 15:01     ` Jeff Moyer
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=878t838vxq.fsf@redhat.com \
    --to=fche@redhat.com \
    --cc=jmoyer@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).