From: "Frank Ch. Eigler" <fche@redhat.com>
To: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: srinivasa@in.ibm.com, systemtap@sources.redhat.com
Subject: Re: changelog files, %( %) idioms
Date: Mon, 03 Mar 2008 16:24:00 -0000 [thread overview]
Message-ID: <20080303162251.GA23898@redhat.com> (raw)
In-Reply-To: <20080303121841.GA18212@in.ibm.com>
Hi -
On Mon, Mar 03, 2008 at 05:48:41PM +0530, Ananth N Mavinakayanahalli wrote:
> [...]
> probe syscall.sigaltstack = kernel.function("sys_sigaltstack") {
> name = "sigaltstack"
> - ebx = $ebx
> - argstr = sprintf("%p", $ebx)
> + bx = %( kernel_vr > "2.6.24" %? $bx %: $ebx %)
> + argstr = sprintf("%p", %( kernel_vr > "2.6.24" %? $bx %: $ebx %) )
I suggest picking a single more informative variable name than "ebx"
or "bx" for that parameter. Then that variable could be used as the
plain sprintf value.
- FChE
next prev parent reply other threads:[~2008-03-03 16:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 15:00 Frank Ch. Eigler
2008-03-03 12:18 ` Ananth N Mavinakayanahalli
2008-03-03 16:24 ` Frank Ch. Eigler [this message]
2008-03-03 16:48 ` William Cohen
2008-03-04 4:29 ` Ananth N Mavinakayanahalli
2008-03-06 14:48 ` William Cohen
2008-03-06 15:16 ` Ananth N Mavinakayanahalli
2008-03-06 9:10 ` examples/wait4time.stp Wenji Huang
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=20080303162251.GA23898@redhat.com \
--to=fche@redhat.com \
--cc=ananth@in.ibm.com \
--cc=srinivasa@in.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).