Commit 036e2faa authored by Dmitry Vyukov's avatar Dmitry Vyukov Committed by Namhyung Kim
Browse files

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: default avatarDmitry Vyukov <dvyukov@google.com>
Reviewed-by: default avatarJames Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250108065949.235718-1-dvyukov@google.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 8b4799e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment