https://bugs.kde.org/show_bug.cgi?id=471807
Bug ID: 471807
Summary: Add support for lazy reading and downloading of DWARF
debuginfo
Classification: Developer tools
Product: valgrind
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 160009
--> https://bugs.kde.org/attachment.cgi?id=160009&action=edit
patch
Currently valgrind attempts to read DWARF .debug_* sections as well as separate
debuginfo files for ELF shared library binaries as soon as each shared library
is loaded. This might also result in the downloading of separate debuginfo
files via debuginfod.
This is inefficient when some of this debuginfo never ends up being used by
valgrind.
I've attached a patch that adds support for lazy reading and downloading of
DWARF debuginfo to help address this inefficiency. Currently only AMD64 Linux
is supported.
For the handful of client processes I've tested this with, I've seen ~25%
reduction in the total amount of debuginfo data valgrind downloads. When all
debuginfo for these processes is pre-downloaded, I've seen a ~10% average
reduction in the time it takes for these processes to run and exit under
valgrind. When valgrind must download all debuginfo, I've seen a ~20% average
reduction in the time it takes for the processes to run and exit under
valgrind.
--
You are receiving this mail because:
You are watching all bug changes.