public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10943] New: Support generic @entry saving in .return probes
@ 2009-11-12  0:58 jistone at redhat dot com
  2009-11-12  0:59 ` [Bug translator/10943] " jistone at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2009-11-12  0:58 UTC (permalink / raw)
  To: systemtap

We already support implicitly saving $target variables at function entry for use
in a .return probe (though bug #5899 debates when ->members should be read). 
There's a good idea in bug #5899 comment #4 to support saving arbitrary
expressions as well.  I quite like the example:

  probe FOO.return { 
    println(gettimeofday_ns() - @entry(gettimeofday_ns()))
  }

This @entry syntax is somewhat distinct from #5899, so I thought it should be
its own bug.

I think our traditional saved_var[tid()] mechanism could be adapted for this
pretty easily.  The newer method using the kretprobe data pouch (bug #5916) is a
little tricker though, as it would need the types to be resolved a bit earlier
than we do now.

-- 
           Summary: Support generic @entry saving in .return probes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10943

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/10943] Support generic @entry saving in .return probes
  2009-11-12  0:58 [Bug translator/10943] New: Support generic @entry saving in .return probes jistone at redhat dot com
@ 2009-11-12  0:59 ` jistone at redhat dot com
  2009-11-12  1:27 ` jistone at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2009-11-12  0:59 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


http://sourceware.org/bugzilla/show_bug.cgi?id=10943

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/10943] Support generic @entry saving in .return probes
  2009-11-12  0:58 [Bug translator/10943] New: Support generic @entry saving in .return probes jistone at redhat dot com
  2009-11-12  0:59 ` [Bug translator/10943] " jistone at redhat dot com
@ 2009-11-12  1:27 ` jistone at redhat dot com
  2010-01-18 20:17 ` fche at redhat dot com
  2010-06-24 14:23 ` jistone at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2009-11-12  1:27 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |5899
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10943

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/10943] Support generic @entry saving in .return probes
  2009-11-12  0:58 [Bug translator/10943] New: Support generic @entry saving in .return probes jistone at redhat dot com
  2009-11-12  0:59 ` [Bug translator/10943] " jistone at redhat dot com
  2009-11-12  1:27 ` jistone at redhat dot com
@ 2010-01-18 20:17 ` fche at redhat dot com
  2010-06-24 14:23 ` jistone at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2010-01-18 20:17 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |11179
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10943

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/10943] Support generic @entry saving in .return probes
  2009-11-12  0:58 [Bug translator/10943] New: Support generic @entry saving in .return probes jistone at redhat dot com
                   ` (2 preceding siblings ...)
  2010-01-18 20:17 ` fche at redhat dot com
@ 2010-06-24 14:23 ` jistone at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jistone at redhat dot com @ 2010-06-24 14:23 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |jistone at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=10943

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2010-06-23 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-12  0:58 [Bug translator/10943] New: Support generic @entry saving in .return probes jistone at redhat dot com
2009-11-12  0:59 ` [Bug translator/10943] " jistone at redhat dot com
2009-11-12  1:27 ` jistone at redhat dot com
2010-01-18 20:17 ` fche at redhat dot com
2010-06-24 14:23 ` jistone 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).