aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kilroy <[email protected]>2021-11-09 14:21:53 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-11-13 18:11:50 -0300
commit09e9afac8cea99429b103fc21836dae693a56b17 (patch)
tree38f3e08674e8b85f8b035de16959350ae0db2fb1
parentd54e50b7c9a4a3d30eba5075528c7b0a187667bb (diff)
perf arm-spe: Print size using consistent format
Since the size is already printed earlier in hex, print the same data using the same format, in hex. Reviewed-by: James Clark <[email protected]> Reviewed-by: Leo Yan <[email protected]> Signed-off-by: Andrew Kilroy <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: German Gomez <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/util/arm-spe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/arm-spe.c b/tools/perf/util/arm-spe.c
index 58b7069c5a5f..2196291976d9 100644
--- a/tools/perf/util/arm-spe.c
+++ b/tools/perf/util/arm-spe.c
@@ -100,7 +100,7 @@ static void arm_spe_dump(struct arm_spe *spe __maybe_unused,
const char *color = PERF_COLOR_BLUE;
color_fprintf(stdout, color,
- ". ... ARM SPE data: size %zu bytes\n",
+ ". ... ARM SPE data: size %#zx bytes\n",
len);
while (len) {