[Bug libdw/27405] libdw_get_srcfiles should not imply srclines
amerey at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Apr 11 16:40:33 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=27405
Aaron Merey <amerey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Aaron Merey <amerey at redhat dot com> ---
Fixed in the following commit:
commit d4b0848be5f575ff9464fee12ce7be416e4fb392
Author: Aaron Merey <amerey@redhat.com>
Date: Mon Mar 25 15:57:25 2024 -0400
libdw: dwarf_getsrcfiles should not imply dwarf_getsrclines
dwarf_getsrcfiles causes line data to be read in addition to file data.
This is wasteful for programs which only need file or directory names.
Debuginfod server is one such example.
Fix this by moving the srcfile reading in read_srclines into a separate
function read_srcfiles. This change improves debuginfod server's max
resident set size by up to 75% during rpm indexing.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list