public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/5076] New: detect both inlined and non-inlined function instances
@ 2007-09-30  1:19 fche at redhat dot com
  2008-06-11 15:03 ` [Bug translator/5076] " fche at redhat dot com
  2010-09-27 14:23 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2007-09-30  1:19 UTC (permalink / raw)
  To: systemtap

See http://sourceware.org/ml/systemtap/2007-q3/msg00726.html

We need to warn or fail upon a .return probe of a function that is inlined
in some cases and not inlined in others.

-- 
           Summary: detect both inlined and non-inlined function instances
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          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=5076

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

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

* [Bug translator/5076] detect both inlined and non-inlined function instances
  2007-09-30  1:19 [Bug translator/5076] New: detect both inlined and non-inlined function instances fche at redhat dot com
@ 2008-06-11 15:03 ` fche at redhat dot com
  2010-09-27 14:23 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2008-06-11 15:03 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-06-11 14:25 -------
Maybe the solution to this one is to accept (and confirm) that .function.call and
.function.return probes match up, rather than .function and .function.return.

Any extras (inlined instances) would not show up under .call, so they should not
need special treatment like warnings/etc. for .return probes.


-- 


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

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

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

* [Bug translator/5076] detect both inlined and non-inlined function instances
  2007-09-30  1:19 [Bug translator/5076] New: detect both inlined and non-inlined function instances fche at redhat dot com
  2008-06-11 15:03 ` [Bug translator/5076] " fche at redhat dot com
@ 2010-09-27 14:23 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2010-09-27 14:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-09-27 14:22 -------
This issue appears to have been fixed in several different ways,
including by warnings for inline-.return probes.  As for the originally
reported test case, we do accept the .return probe on the non-inlined
copy of the function.

% stap -p2 -e 'probe module("nfs").function("nfs_check_flags").return {
println($return) }'
# functions
_dwarf_tvar_get_return_0:long ()
# probes
module("nfs").function("nfs_check_flags@fs/nfs/file.c:107").return /*
pc=.text+0x5040 */ /* <- module("nfs").function("nfs_check_flags").return */


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


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

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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-30  1:19 [Bug translator/5076] New: detect both inlined and non-inlined function instances fche at redhat dot com
2008-06-11 15:03 ` [Bug translator/5076] " fche at redhat dot com
2010-09-27 14:23 ` 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).