lkml.org 
[lkml]   [2021]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/5] perf cs-etm: Print size using consistent format
    On Thu, Sep 16, 2021 at 04:46:31PM +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/cs-etm.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c
    > index f323adb1af85..4f672f7d008c 100644
    > --- a/tools/perf/util/cs-etm.c
    > +++ b/tools/perf/util/cs-etm.c
    > @@ -537,7 +537,7 @@ static void cs_etm__dump_event(struct cs_etm_queue *etmq,
    >
    > fprintf(stdout, "\n");
    > color_fprintf(stdout, color,
    > - ". ... CoreSight %s Trace data: size %zu bytes\n",
    > + ". ... CoreSight %s Trace data: size %#zx bytes\n",
    > cs_etm_decoder__get_name(etmq->decoder), buffer->size);
    >
    > do {
    > --
    > 2.17.1
    >

    \
     
     \ /
      Last update: 2021-09-23 15:35    [W:3.248 / U:0.512 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site