public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/14832] New: Add file/line/func context variables
@ 2012-11-12 18:19 jistone at redhat dot com
  2012-11-12 19:12 ` [Bug translator/14832] " jistone at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2012-11-12 18:19 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 14832
           Summary: Add file/line/func context variables
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    Classification: Unclassified


For all the DWARF probe types, we could expose more context information as
virtual variables.  Perhaps $$file, $$line, $$func, and $$pretty_function,
equivalent to __FILE__, __LINE, __func__, and __PRETTY_FUNCTION__.

-- 
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] 4+ messages in thread

* [Bug translator/14832] Add file/line/func context variables
  2012-11-12 18:19 [Bug translator/14832] New: Add file/line/func context variables jistone at redhat dot com
@ 2012-11-12 19:12 ` jistone at redhat dot com
  2012-11-12 19:30 ` fche at redhat dot com
  2017-05-09  0:02 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2012-11-12 19:12 UTC (permalink / raw)
  To: systemtap

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

--- Comment #1 from Josh Stone <jistone at redhat dot com> 2012-11-12 19:12:24 UTC ---
One motivating point for $$func -- since probefunc() was converted to use the
current PC and symnames, it doesn't work well for inline or return probes.  For
example, para-callgraph.stp is printing the wrong name in the return lines,
showing actually where we returned TO, not which function is returning.

-- 
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] 4+ messages in thread

* [Bug translator/14832] Add file/line/func context variables
  2012-11-12 18:19 [Bug translator/14832] New: Add file/line/func context variables jistone at redhat dot com
  2012-11-12 19:12 ` [Bug translator/14832] " jistone at redhat dot com
@ 2012-11-12 19:30 ` fche at redhat dot com
  2017-05-09  0:02 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2012-11-12 19:30 UTC (permalink / raw)
  To: systemtap

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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> 2012-11-12 19:29:52 UTC ---
See also bug #12276, which could apply to non-dwarf generic contexts.

-- 
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] 4+ messages in thread

* [Bug translator/14832] Add file/line/func context variables
  2012-11-12 18:19 [Bug translator/14832] New: Add file/line/func context variables jistone at redhat dot com
  2012-11-12 19:12 ` [Bug translator/14832] " jistone at redhat dot com
  2012-11-12 19:30 ` fche at redhat dot com
@ 2017-05-09  0:02 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2017-05-09  0:02 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=14832

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsmith at redhat dot com

--- Comment #3 from Frank Ch. Eigler <fche at redhat dot com> ---
*** Bug 21403 has been marked as a duplicate of this bug. ***

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

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

end of thread, other threads:[~2017-05-09  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-12 18:19 [Bug translator/14832] New: Add file/line/func context variables jistone at redhat dot com
2012-11-12 19:12 ` [Bug translator/14832] " jistone at redhat dot com
2012-11-12 19:30 ` fche at redhat dot com
2017-05-09  0:02 ` 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).