]> git.baikalelectronics.ru Git - kernel.git/commitdiff
perf arm-spe: Print size using consistent format
authorAndrew Kilroy <andrew.kilroy@arm.com>
Tue, 9 Nov 2021 14:21:53 +0000 (14:21 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 13 Nov 2021 21:11:50 +0000 (18:11 -0300)
Since the size is already printed earlier in hex, print the same data
using the same format, in hex.

Reviewed-by: James Clark <james.clark@arm.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Andrew Kilroy <andrew.kilroy@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20211109142153.56546-3-german.gomez@arm.com
Signed-off-by: German Gomez <german.gomez@arm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/arm-spe.c

index 58b7069c5a5f831ebf1e96d42c6a99319eccd813..2196291976d9a5e56483ca5521e113e7542ff2f6 100644 (file)
@@ -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) {