[Bug debugedit/30564] New: deduplicate debugedit -l sources output

mark at klomp dot org sourceware-bugzilla@sourceware.org
Mon Jun 19 11:47:47 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=30564

            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/4fd77ae2cbc3fdc194bcd0fc37c0c2f92efb66e6.camel@klomp.org/T/#u
https://sourceware.org/cgit/debugedit/commit/?id=41fc1335b8b364c95a8ee2ed2956bbdfe7957853

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 deduplicated
the sources list itself.

A quick check shows that the number of files output contains ~90% duplicates.
On elfutils eu-readelf debugedit -n -l sources produces 2370 files of which on
246 are unique files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list