public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6898] New: marker $$args / $$parms
@ 2008-09-17 18:58 fche at redhat dot com
  2009-07-23  9:13 ` [Bug translator/6898] " wenji dot huang at oracle dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fche at redhat dot com @ 2008-09-17 18:58 UTC (permalink / raw)
  To: systemtap

In order to make multi-marker tracing easier, let's add
$$vars / $$parms to marker-based probe points.  One of
these could try to interpret the incoming $format; the
other could synthesize one like the kprobes-related $$vars do.

-- 
           Summary: marker $$args / $$parms
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/6898] marker $$args / $$parms
  2008-09-17 18:58 [Bug translator/6898] New: marker $$args / $$parms fche at redhat dot com
@ 2009-07-23  9:13 ` wenji dot huang at oracle dot com
  2009-07-24  5:15 ` wenji dot huang at oracle dot com
  2010-04-08 19:07 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wenji dot huang at oracle dot com @ 2009-07-23  9:13 UTC (permalink / raw)
  To: systemtap


------- 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/6898] marker $$args / $$parms
  2008-09-17 18:58 [Bug translator/6898] New: marker $$args / $$parms fche at redhat dot com
  2009-07-23  9:13 ` [Bug translator/6898] " wenji dot huang at oracle dot com
@ 2009-07-24  5:15 ` wenji dot huang at oracle dot com
  2010-04-08 19:07 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wenji dot huang at oracle dot com @ 2009-07-24  5:15 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wenji dot huang at oracle dot com  2009-07-24 05:15 -------
commit	92dad52bd5d51d32fc171620736bdc0ba9b890c4

-- 


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/6898] marker $$args / $$parms
  2008-09-17 18:58 [Bug translator/6898] New: marker $$args / $$parms fche at redhat dot com
  2009-07-23  9:13 ` [Bug translator/6898] " wenji dot huang at oracle dot com
  2009-07-24  5:15 ` wenji dot huang at oracle dot com
@ 2010-04-08 19:07 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-04-08 19:07 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-04-08 19:06 -------
committed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-08 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-17 18:58 [Bug translator/6898] New: marker $$args / $$parms fche at redhat dot com
2009-07-23  9:13 ` [Bug translator/6898] " wenji dot huang at oracle dot com
2009-07-24  5:15 ` wenji dot huang at oracle dot com
2010-04-08 19:07 ` fche at redhat dot com

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).