elf_mem_map: uniquify file names in qdirstat output
This commit is contained in:
parent
9917689fdf
commit
d98e1b1cd9
@ -350,6 +350,8 @@ def print_qdirstat(grefs):
|
|||||||
base[name] = {}
|
base[name] = {}
|
||||||
base = base[name]
|
base = base[name]
|
||||||
name = paths[-1]
|
name = paths[-1]
|
||||||
|
if name in base:
|
||||||
|
name = '{}_{:x}'.format(entry.name, entry.loc)
|
||||||
base[name] = entry.size
|
base[name] = entry.size
|
||||||
|
|
||||||
def walker(root, prefix):
|
def walker(root, prefix):
|
||||||
|
Loading…
Reference in New Issue
Block a user