summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2025-01-08 07:59:34 +0100
committerNamhyung Kim <namhyung@kernel.org>2025-01-17 09:51:18 -0800
commit036e2faa997c39a5f15dbeb50528911778d8b29d (patch)
tree8a04220cf7c68a24b8a476189e07bde01ac829ed /tools/perf/scripts/python/export-to-sqlite.py
parent8b4799e4f0f40a4ec737bf870aa38d06288bf0fb (diff)
perf hist: Fix width calculation in hpp__fmt()
hpp__width_fn() round up width to length of the field name, hpp__fmt() should do it too. Otherwise, the numbers may end up unaligned if the field name is long. Signed-off-by: Dmitry Vyukov <dvyukov@google.com> Reviewed-by: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250108065949.235718-1-dvyukov@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions