[Bug translator/13241] New: too much dump-unwindsyms processing for modules even if !need_symbols
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Sep 30 18:07:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13241
Bug #: 13241
Summary: too much dump-unwindsyms processing for modules even
if !need_symbols
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
For a script of the form
probe module("*").function("*") {}
The pragma:symbol logic introduced in commit 8af41ec does not assist
in reducing translate.cxx time, due to this bit:
5115 // If we don't actually need the symbols then we did all
5116 // of the above just to get the section names... we can
5117 // probably do that in some more efficient way...
5118 if (c->session.need_symbols)
5119 (addrmap[secidx])[sym_addr] = name;
In other words, we do almost all the work of loading the module("*")
elf/dwarf files, just to get a list of section names (which we do need).
Let's find a lighter way of grabbing section name lists.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list