public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/13094] New: caller / ucaller functions based on backtraces
@ 2011-08-15 21:07 fche at redhat dot com
  2011-09-08 17:13 ` [Bug tapsets/13094] " mjw at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2011-08-15 21:07 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 13094
           Summary: caller / ucaller functions based on backtraces
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


The current caller* functions in context-unwind.stp are limited to *retprobes.
But based on backtracing, many more places should work; something like:

function caller_n(n) {
     f = backtrace ()
     sym = tokenize(f, " ")
     for (i=1; i<n; i++)
        sym = tokenize("", " ")
     return sym
}

perhaps with some error generation on n-too-large overflow (let the caller
try/catch).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug tapsets/13094] caller / ucaller functions based on backtraces
  2011-08-15 21:07 [Bug tapsets/13094] New: caller / ucaller functions based on backtraces fche at redhat dot com
@ 2011-09-08 17:13 ` mjw at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mjw at redhat dot com @ 2011-09-08 17:13 UTC (permalink / raw)
  To: systemtap

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

Mark Wielaard <mjw at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mjw at redhat dot com
         Resolution|                            |DUPLICATE

--- Comment #1 from Mark Wielaard <mjw at redhat dot com> 2011-09-08 17:11:15 UTC ---
bug #6580 has some more background on this.

*** This bug has been marked as a duplicate of bug 6580 ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2011-09-08 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15 21:07 [Bug tapsets/13094] New: caller / ucaller functions based on backtraces fche at redhat dot com
2011-09-08 17:13 ` [Bug tapsets/13094] " mjw 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).