public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Jim Keniston <jkenisto@us.ibm.com>
Cc: Roland McGrath <roland@redhat.com>,
	dcnltc@us.ibm.com,         systemtap@sourceware.org
Subject: Re: user instruction tracing patch?
Date: Fri, 16 Nov 2007 17:18:00 -0000	[thread overview]
Message-ID: <y0mir425cvy.fsf@ton.toronto.redhat.com> (raw)
In-Reply-To: <1195175032.3804.163.camel@dyn9047018096.beaverton.ibm.com> (Jim Keniston's message of "Thu, 15 Nov 2007 17:03:52 -0800")


jkenisto wrote:

> [...]  For example, will stap provide access to all the
> task-lifetime events that utrace reports (on a per-task basis, BTW)
> -- fork/clone, exec, exit, signal, syscall, etc?  I hope so.

These sound sensible.  It could be interesting to use utrace's system
call interception facilities instead of the system-wide ones we were
discussing yesterday, when the focus can be appropriately restricted.

>[...]
> But wouldn't real-life scripts be just as likely to do something like
>   probe program("PATHNAME").pid(TBD).function("NAME") { ... }
> [...]
>   probe program("PATHNAME").descendent_of($1 /*pid*/).function("NAME")

One can get carried away with encoding too much in the probe point
syntax.  Generally, they are meant to be statically resolvable sorts
of things identifying the parts of the system possibly being affected
by probing.  I'd like to add dynamic things only tastefully - if they
are common, compact, obvious; if translator/runtime automation
significantly assists performance or safety; if they cannot be
reasonably coded up in plain script code.

> The above suggests (to me, anyway) that we should either:
> 1) support probe enablement via a statement in a probe handler [...]
> 2) expand the probe statement syntax to accommodate same.

You may be mixing things up.  The two alternate syntaxes for
on-the-fly probe enable/disable operations are roughly equally capable
in this regard.  (If it takes script code to determine enablement,
then that script code could just as easily use either activating
variables or function calls.)


- FChE

  reply	other threads:[~2007-11-16 17:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-13 17:58 Dave Nomura
2007-11-14 21:29 ` Frank Ch. Eigler
2007-11-14 21:59   ` Roland McGrath
2007-11-14 23:17     ` Frank Ch. Eigler
2007-11-14 23:39       ` Roland McGrath
2007-11-15  3:59         ` Frank Ch. Eigler
2007-11-16  0:04           ` Jim Keniston
2007-11-16 17:18             ` Frank Ch. Eigler [this message]
2007-11-16 18:36               ` Jim Keniston
2007-11-16 19:21                 ` Frank Ch. Eigler
2007-11-16 20:20                   ` Jim Keniston
2007-11-16 20:29                     ` Roland McGrath
2007-11-16 20:38                     ` Frank Ch. Eigler
2007-11-16 21:08                       ` Jim Keniston
2007-11-16 21:25                         ` Frank Ch. Eigler
2007-11-16 21:51                           ` Jim Keniston
2007-11-16 22:23                             ` Frank Ch. Eigler
2007-11-27 14:13                               ` Dave Nomura
2007-11-27 15:14                                 ` Frank Ch. Eigler
2007-12-03 18:09                                   ` Dave Nomura
2007-12-10 18:00                                     ` Frank Ch. Eigler
2008-02-04 16:58                                       ` Dave Nomura
2008-03-10 18:49   ` Dave Nomura
2008-03-17 15:16     ` Frank Ch. Eigler
     [not found]       ` <47E157A8.3010508@us.ibm.com>
2008-03-19 18:42         ` Frank Ch. Eigler

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=y0mir425cvy.fsf@ton.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=dcnltc@us.ibm.com \
    --cc=jkenisto@us.ibm.com \
    --cc=roland@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).