From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 58DD63858416; Mon, 19 Jun 2023 11:47:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 58DD63858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1687175268; bh=CPOazAz/0/kORoOGI3FZXPLLb6xhU2hH6t7oTPg3AuM=; h=From:To:Subject:Date:From; b=vivREaOSOnxDEEn1tK2TGMy/lUf7hyfi5P4xds5cuggsz/IunSxhT/wK3BPh8z2jF ClMcorGTEViE6quEwVOQDXeYMg7JVhETGa5PE1v9ZIhcbWJ3WrwruWRNypma41Bt8j +RGkUxhBCqZ3vXs+Mf+r3XS6wvmxM7Y9CiZhevwI= From: "mark at klomp dot org" To: debugedit@sourceware.org Subject: [Bug debugedit/30564] New: deduplicate debugedit -l sources output Date: Mon, 19 Jun 2023 11:47:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D30564 Bug ID: 30564 Summary: deduplicate debugedit -l sources output Product: debugedit Version: unspecified Status: NEW Severity: normal Priority: P2 Component: debugedit Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: debugedit at sourceware dot org Target Milestone: --- https://inbox.sourceware.org/debugedit/4fd77ae2cbc3fdc194bcd0fc37c0c2f92efb= 66e6.camel@klomp.org/T/#u https://sourceware.org/cgit/debugedit/commit/?id=3D41fc1335b8b364c95a8ee2ed= 2956bbdfe7957853 find-debuginfo deduplicates the debugedit -l sources output (and must for multiple debugedit invocations on different object files). But this could be a little bit more efficient if debugedit itself deduplica= ted the sources list itself. A quick check shows that the number of files output contains ~90% duplicate= s. On elfutils eu-readelf debugedit -n -l sources produces 2370 files of which= on 246 are unique files. --=20 You are receiving this mail because: You are on the CC list for the bug.=