Skip to content

Commit d54e50b

Browse files
andrewkilroyarmacmel
authored andcommitted
perf cs-etm: 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]> Reviewed-by: Mathieu Poirier <[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: 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]>
1 parent 6b1b208 commit d54e50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/cs-etm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ static void cs_etm__dump_event(struct cs_etm_queue *etmq,
537537

538538
fprintf(stdout, "\n");
539539
color_fprintf(stdout, color,
540-
". ... CoreSight %s Trace data: size %zu bytes\n",
540+
". ... CoreSight %s Trace data: size %#zx bytes\n",
541541
cs_etm_decoder__get_name(etmq->decoder), buffer->size);
542542

543543
do {

0 commit comments

Comments
 (0)