public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Anithra P Janakiraman <anithra@linux.vnet.ibm.com>
Cc: "systemtap@sourceware.org" <systemtap@sourceware.org>
Subject: Re: [RFC] Framework for easy distribution of SystemTap scripts (V4)
Date: Wed, 14 Apr 2010 22:32:00 -0000	[thread overview]
Message-ID: <20100414170015.GA9511@redhat.com> (raw)
In-Reply-To: <4BC5EACD.9070306@linux.vnet.ibm.com>

Hi -

On Wed, Apr 14, 2010 at 09:48:21PM +0530, Anithra P Janakiraman wrote:
> [...]
> >Well, if you are targeting this to such a specific subset of users,
> >then perhaps there is little need to include the script within the
> >systemtap source tree.  It could be as easily downloaded from the wiki
> >for example, no?
> 
> That should be ok too..

OK, in that case, feel free to post it to the wiki as/when you like.


> >>With the -start option, staprun executes in the background while the
> >>script exits. To stop users need to run the package with -stop, it would
> >>not be possible to store the child pids in this scenario.
> >
> >(If you used the normal flight-recorder mode startup/shutdown options,
> >the pids wouldn't be needed, since the module name is used as the
> >key.)
> 
> We are assuming that SystemTap might not be installed on the machine 
> where the package will be executed. We package the bare minimal 
> (staprun/stapio) needed to run the module. The initscripts might not be 
> available.

I wasn't talking about initscripts, but about stap's -F and staprun's
-L/-A options.


> >>[...]  The config file and parameters should have been passed to
> the post-processing script. I had completely overlooked that.  [...]

OK.  It almost sounds like what you'd need is another post-processing
option, where the user specifies a command line (rather than a file
name).  Then the 'ipaddress' sorts of filtering would be simply:

    stap-makepkg --filter-output 'grep 127.0.0.1' .....

with no post-processing script/file.


- FChE

      reply	other threads:[~2010-04-14 17:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-09 18:00 [RFC] Framework for easy distribution of SystemTap scripts Anithra P Janakiraman
2010-02-02 16:43 ` Anithra P Janakiraman
2010-02-02 20:28   ` Frank Ch. Eigler
2010-02-04  9:17     ` Prerna Saxena
2010-02-17 18:09   ` Anithra P Janakiraman
2010-02-28  9:58     ` Anithra P Janakiraman
2010-02-28 20:26       ` Ahmed Taha
2010-03-01  6:41         ` Anithra P Janakiraman
2010-03-22 20:48   ` Anithra P Janakiraman
2010-04-07  9:21     ` Anithra P Janakiraman
2010-04-08 15:47       ` Frank Ch. Eigler
2010-04-09 16:19         ` [RFC] Framework for easy distribution of SystemTap scripts (V2) Anithra P Janakiraman
2010-04-09 17:03           ` Frank Ch. Eigler
2010-04-13 17:17             ` [RFC] Framework for easy distribution of SystemTap scripts (V3) Anithra P Janakiraman
2010-04-13 20:56               ` Frank Ch. Eigler
2010-04-14 22:32                 ` [RFC] Framework for easy distribution of SystemTap scripts (V4) Anithra P Janakiraman
2010-04-14 22:32                   ` Frank Ch. Eigler [this message]

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=20100414170015.GA9511@redhat.com \
    --to=fche@redhat.com \
    --cc=anithra@linux.vnet.ibm.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).