public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Vara Prasad <prasadav@us.ibm.com>
Cc: systemtap@sources.redhat.com
Subject: Re: user-space probes -- plan B from outer space
Date: Wed, 14 Jun 2006 19:11:00 -0000	[thread overview]
Message-ID: <y0mbqsvwo12.fsf@ton.toronto.redhat.com> (raw)
In-Reply-To: <44862DF2.3000402@us.ibm.com>


prasadav wrote:

> [...]  Well another approach is similar to Ptrace actions you have
> predefined handlers that some one can activate through a new
> systemcall. [...] 

A fixed pool of predefined handlers seem like an antithesis of
systemtap.  Did you have some user interface in mind for these?

> >   user.process(233).statement(0xfeedface)
> >   user("fche").process("/bin/vi").function("*init*")
>
> In my opinion user space probes is most useful in the case of server
> class kind of complicated programs which are usually long living,
> [...]  there is not much value with system wide tracing instead we
> should focus on process specific tracing. [...]

There is no contradiction here.  System-wide probing can be
accomplished by a collection of process-specific probes.

> [...] I am not sure i see the value of process("process name")
> syntax if our focus is process specific tracing.

It would be one way of identifying present or future processes to
probe.  For processes that do not yet exist, what other scheme do you
have in mind?

> I am not sure i see lot of value of this solution compared to a gdb
> batch job, but for bit better performance than the heavy weight gdb.
> [...]

How would this gdb batch job alternative work?  Are you intending to
compare the expressity of systemtap script with gdb macros?

> >Q: Is it worth it to try?  Is there a better way?
> >A: You tell me.
>
> Not really unless we can't come up with a simple enough of solution
> that lets handlers run in the kernel which gives the performance
> that we need [...]

Sure - that is why I called it "plan B": something to consider if
"plan A" does not come to fruition.

- FChE

  reply	other threads:[~2006-06-14 19:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 19:08 Frank Ch. Eigler
2006-06-06 21:50 ` Jim Keniston
2006-06-07 19:59   ` Frank Ch. Eigler
2006-06-09 11:57     ` Jim Keniston
2006-06-09 18:42       ` Frank Ch. Eigler
2006-06-07  1:38 ` Vara Prasad
2006-06-14 19:11   ` Frank Ch. Eigler [this message]
2006-06-14 22:42     ` Vara Prasad
2006-06-14 23:46       ` Frank Ch. Eigler
2006-06-15  1:02         ` Vara Prasad
2006-06-19 17:13           ` 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=y0mbqsvwo12.fsf@ton.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=prasadav@us.ibm.com \
    --cc=systemtap@sources.redhat.com \
    /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).