[Bug tapsets/10625] New: nested functions aren't probeable
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Sep 11 01:24:00 GMT 2009
In loc2c.c, there are several definitions of nested inline functions, but they
are not visible to stap. For example, translate() has a nested function called
deepen(), yet:
$ stap -l 'process("stap").function("deepen")'
semantic error: no match while resolving probe point
process("stap").function("deepen")
We get our functions from elfutils' dwarf_getfuncs(), but that function only
looks at the direct children of the CU. For nested functions, the subprogram
DIE occurs as a child of the function that contains it.
Finding nested functions will probably require scanning through the DIEs within
each discovered function, but that will probably slow us down quite a bit.
--
Summary: nested functions aren't probeable
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10625
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list