| Summary: | dwarf_getfuncs makes systemtap miss some function probes in c++ programs and with dwz compressed DWARF | ||
|---|---|---|---|
| Product: | Red Hat Developer Toolset | Reporter: | Mark Wielaard <mjw> |
| Component: | elfutils | Assignee: | Petr Machata <pmachata> |
| Status: | CLOSED ERRATA | QA Contact: | Dagmar Prokopová <dprokopo> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | DTS 2.1 RHEL 6 | CC: | dprokopo, fche, jakub, jistone, mbenitez, mcermak, mfranc, mjw, mnewsome, ohudlick |
| Target Milestone: | --- | Keywords: | Rebase |
| Target Release: | 2.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Rebase: Bug Fixes and Enhancements | |
| Doc Text: |
Important: if this rebase instead contains *only bug fixes,* or *only enhancements*, select the correct option from the Doc Type drop-down list.
Rebase package(s) to version:
0.157
Highlights, important fixes, or notable enhancements:
For this bug in particular:
Cause:
dwarf_getfuncs should return all functions defined by a given compilation unit. But when considering candidate nodes, it only scanned the first layer of nodes attached to a given compilation unit, even though such function definition nodes could be nested in deeper layers of the Dwarf tree. GCC emits Dwarf nodes representing nested functions under the nodes that represent the outer function.
Consequence:
dwarf_getfuncs wouldn't report nested functions for GCC-generated Dwarf data.
Fix:
The whole Dwarf tree rooted at a given compilation unit is scanned.
Result:
All function definitions are found.
|
Story Points: | --- |
| Clone Of: | 1011579 | Environment: | |
| Last Closed: | 2014-03-11 06:38:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1011579 | ||
| Bug Blocks: | |||
|
Comment 3
Dagmar Prokopová
2013-11-11 14:29:15 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0271.html |