public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: David Smith <dsmith@redhat.com>
Cc: systemtap@sources.redhat.com
Subject: Re: Listing probe alias resolution failures
Date: Wed, 16 May 2007 21:59:00 -0000	[thread overview]
Message-ID: <20070516215850.GB2520@redhat.com> (raw)
In-Reply-To: <464B759E.1030606@redhat.com>

Hi -

> [...]
> Ah, I see something I missed before with the following:
> # stap -p2 -e 'probe vm.mmap ? { printf("%p %d\n", address, length) }'
> [...]
> probe vm.mmap = kernel.function("do_mmap"), kernel.function("do_mmap2")? {
>     address = $addr
>     length = $len
> }
> [...]
> I missed the fact that the first one isn't optional.  But, shouldn't 
> making 'vm.mmap' optional basically make 'kernel.function("do_mmap")' 
> optional?

But "do_mmap" is found, and so the optional flag is satisfied.  The
probe handler is processed without further error suppression.  It's
not obvious that this is wrong. 

PS. This bug #1155 is really annoying.

- FChE

  reply	other threads:[~2007-05-16 21:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15 21:14 patm
2007-05-15 21:33 ` David Smith
2007-05-15 22:02   ` patm
2007-05-15 22:16   ` Mike Mason
2007-05-16 13:47     ` David Smith
2007-05-15 22:21   ` patm
2007-05-16 14:12     ` David Smith
2007-05-16 16:58       ` patm
2007-05-16 17:23         ` David Smith
2007-05-16 18:54           ` patm
2007-05-16 18:54           ` Frank Ch. Eigler
2007-05-16 20:18             ` David Smith
2007-05-16 20:30               ` Frank Ch. Eigler
2007-05-16 21:20                 ` David Smith
2007-05-16 21:59                   ` Frank Ch. Eigler [this message]
2007-05-18 20:05                     ` David Smith
2007-05-19  0:27                       ` Stone, Joshua I
2007-05-19 16:11                         ` Frank Ch. Eigler
2007-05-17  0:09                   ` Mike Mason

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=20070516215850.GB2520@redhat.com \
    --to=fche@redhat.com \
    --cc=dsmith@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).