From: "wenji dot huang at oracle dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/6898] marker $$args / $$parms
Date: Thu, 23 Jul 2009 09:13:00 -0000 [thread overview]
Message-ID: <20090723091248.366.qmail@sourceware.org> (raw)
In-Reply-To: <20080917185740.6898.fche@redhat.com>
------- Additional Comments From wenji dot huang at oracle dot com 2009-07-23 09:12 -------
Created an attachment (id=4079)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4079&action=view)
patch and testcase
With this patch, stap can support $$vars or $$parms for kernel marker.
For example in FC11.
$ stap -l 'kernel.mark("ext4_da_writepage")'
kernel.mark("ext4_da_writepage").format("dev %s ino %lu page_index %lu")
$ stap -e 'probe kernel.mark("ext4_da_writepage") { printf("%s\n",$$parms)}'
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x0
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x1
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x2
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x3
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x4
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x5
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x6
$arg1=dm-0 $arg2=0x3fc25 $arg3=0x7
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6898
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2009-07-23 9:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 18:58 [Bug translator/6898] New: " fche at redhat dot com
2009-07-23 9:13 ` wenji dot huang at oracle dot com [this message]
2009-07-24 5:15 ` [Bug translator/6898] " wenji dot huang at oracle dot com
2010-04-08 19:07 ` fche at redhat dot com
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=20090723091248.366.qmail@sourceware.org \
--to=sourceware-bugzilla@sourceware.org \
--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).