diff options
author | 2025-01-08 07:59:34 +0100 | |
---|---|---|
committer | 2025-01-17 09:51:18 -0800 | |
commit | 036e2faa997c39a5f15dbeb50528911778d8b29d (patch) | |
tree | 8a04220cf7c68a24b8a476189e07bde01ac829ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf hist: Fix bogus profiles when filters are enabled (diff) | |
download | wireguard-linux-036e2faa997c39a5f15dbeb50528911778d8b29d.tar.xz wireguard-linux-036e2faa997c39a5f15dbeb50528911778d8b29d.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions