Message ID | 20210916154635.1525-2-german.gomez@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/5] perf cs-etm: Print size using consistent format | expand |
On Thu, Sep 16, 2021 at 04:46:32PM +0100, German Gomez wrote: > From: Andrew Kilroy <andrew.kilroy@arm.com> > > 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> > Signed-off-by: Andrew Kilroy <andrew.kilroy@arm.com> > Signed-off-by: German Gomez <german.gomez@arm.com> Reviewed-by: Leo Yan <leo.yan@linaro.org> > --- > tools/perf/util/arm-spe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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) { > -- > 2.17.1 >
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) {