public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Martin Hunt <hunt@redhat.com>
To: Roland McGrath <roland@redhat.com>
Cc: "systemtap@sources.redhat.com" <systemtap@sources.redhat.com>
Subject: Re: tapset feedback
Date: Thu, 05 Jan 2006 16:26:00 -0000	[thread overview]
Message-ID: <1136478429.3853.14.camel@monkey2> (raw)
In-Reply-To: <20060105111717.6ED55180B7C@magilla.sf.frob.com>

On Thu, 2006-01-05 at 03:17 -0800, Roland McGrath wrote:

>  If a user script might want to use
> kernel.syscall.foobar directly, then it will have to use % conditionals to
> avoid those uses on kernels where the probe won't be defined because it
> can't work; i.e., have to know the kernel versions to test for,

This is exactly the ugly situation we now have. For every function that
gets added/removed we have to know the exact kernel versions it happened
in. And this means systemtap becomes less useful for nonstandard kernels
because we won't know what options they were built with.

>  or perhaps
> allow libraries/tapsets to export symbolic conditionals so a user can test
> with %(have_foobar) in conditionals.

That would have to be a runtime conditional.

> The other choice is to define a special notion of "never" probes.  

So the idea here is that we define for each probe what to do if the
probe does not match any current function. Isn't this kind of similar to
my (perhaps poorly named) kernel.func probe point? Using kernel.func vs
kernel.function means "do nothing if this probe point fails to match".

What I REALLY would like to see is a way to say "here is a list of probe
points. Set probes on as many as possible."

Martin



  reply	other threads:[~2006-01-05 16:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05  8:45 Martin Hunt
2006-01-05  9:05 ` Roland McGrath
2006-01-05  9:28   ` Martin Hunt
2006-01-05 11:17     ` Roland McGrath
2006-01-05 16:26       ` Martin Hunt [this message]
2006-01-05 17:06         ` Frank Ch. Eigler
2006-01-06  9:41         ` Roland McGrath
2006-01-06  9:45         ` Roland McGrath

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=1136478429.3853.14.camel@monkey2 \
    --to=hunt@redhat.com \
    --cc=roland@redhat.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).