Skip to content

Commit b00f8ef

Browse files
committed
Update title
1 parent 26b8477 commit b00f8ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/tools/file_size_from_nm.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -873,10 +873,13 @@ def main(
873873
symbols, separator = fetch_symbols(elf_file, __FETCH_STYLES__[fetch_via], glob_filter)
874874
title = elf_file
875875

876+
if glob_filter:
877+
title += f" FILTER {glob_filter}"
878+
876879
if diff:
877880
diff_symbols, _ = fetch_symbols(diff, __FETCH_STYLES__[fetch_via], glob_filter)
878881
symbols = compute_symbol_diff(symbols, diff_symbols)
879-
title = f"{elf_file} COMPARED TO {diff}"
882+
title += f" COMPARED TO {diff}"
880883

881884
build_treemap(
882885
title, symbols, separator, __CHART_STYLES__[display_type], __COLOR_SCALES__[color], max_depth, zoom, strip

0 commit comments

Comments
 (0)