public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Jim Keniston <jkenisto@us.ibm.com>
Cc: systemtap@sourceware.org
Subject: Re: user instruction tracing patch?
Date: Fri, 16 Nov 2007 21:25:00 -0000	[thread overview]
Message-ID: <20071116212420.GE25326@redhat.com> (raw)
In-Reply-To: <1195247268.8520.4.camel@dyn9047018096.beaverton.ibm.com>

Hi -

On Fri, Nov 16, 2007 at 01:07:47PM -0800, Jim Keniston wrote:
> [...]
> Sorry, I still don't get it then.  Given
> 	probe program("/bin/vi").function("malloc") if (mp) { .. }
> if some handler executes
> 	mp = 1;
> how does stap know which instance(s) of vi to probe?

None of this exists yet, but it should work similarly to kprobes
where lack of probe point qualification means "all of them".  So

   probe program("/bin/vi").function("malloc")  { }

would be a request to probe all running (and forseeably, any future)
copies of vi.  To filter further, I imagine additional qualifiers such
as ".pid(NUM)", ".uid(NUM)".  These are all to identify the potential
probing target processes.


The conditional enable/disable stuff is intended to be orthogonal.
They do not create or destroy probing targets/opportunities, merely
turn them on or off.

- FChE

  reply	other threads:[~2007-11-16 21:25 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
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 [this message]
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=20071116212420.GE25326@redhat.com \
    --to=fche@redhat.com \
    --cc=jkenisto@us.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).