From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E809B3858CDB; Thu, 11 Apr 2024 16:40:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E809B3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712853634; bh=sBBXXhJl+DNk2Cz0btLq4SqgZmXEcIeo+krfUpALVu0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oWl/DPow+s3caqrG0nIPt6j0bumXMGrkAI6UZJl24AWc3BHnqYiLfD6fmYk8m1grD lJvxuDP55kXz4DosTv2cXsiTyoJQz164p43+ttCIuya9D+hmLAd1X0AzXxMIiy+6vR 9IdL4rZK0o8T10R/HYMxrVb2SvyOOi37NWRXUI3k= From: "amerey at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug libdw/27405] libdw_get_srcfiles should not imply srclines Date: Thu, 11 Apr 2024 16:40:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amerey at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27405 Aaron Merey changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Aaron Merey --- Fixed in the following commit: commit d4b0848be5f575ff9464fee12ce7be416e4fb392 Author: Aaron Merey 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=