From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF1FCC433F5 for ; Thu, 23 Sep 2021 13:36:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAF3061216 for ; Thu, 23 Sep 2021 13:36:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241209AbhIWNhh (ORCPT ); Thu, 23 Sep 2021 09:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232333AbhIWNhc (ORCPT ); Thu, 23 Sep 2021 09:37:32 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD10C061756 for ; Thu, 23 Sep 2021 06:36:00 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id mv7-20020a17090b198700b0019c843e7233so4897604pjb.4 for ; Thu, 23 Sep 2021 06:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LJqsayGSV0vpx1xLxjFKNF/KjYBVBG9Ud2Yl5xQheZo=; b=D2Rh5rHhzAV1xWW2d/eJUB9j5HU67L2BY92Ko4tZU0fYJMt469/jTf4snBMuv0HODu MaCYguDaTCKfeB+gJbasD0PbWzQ22JqgOV3M9ZG1FZ9U+jsRrLi7QGG/YOjPKp/6mOYK vTsMUSN1xpVRgLjWUvaCHGfk8lEJNdWk53MfypTBsKKt5tGiNZbRllmzOdSko/3yfZUt kOtTiqs24RLPgebhTijL3N7NnXM+TcIBKix/vF6Ys1NyFeYvrkLsq8SXzgSoaeHAFfDC w7XjQREBoRSTDUKAwmk/4OfV3pmTjQEMiVLz9tsZXQ6gNLEW7oyoDiCzTB4ZywJmItOn P2FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LJqsayGSV0vpx1xLxjFKNF/KjYBVBG9Ud2Yl5xQheZo=; b=PYxmPGzqeP3lC6WUadiQvg90aFndBPKyeshPgz/eXzL27cWBR4YuZnsdgc+VHdzGjf RlPiuoMXxCbd/JxtzedtML/hOJTDllHCHtshHixurkZEOwrQvpEk54VH6KP8v2RsbK6U uRriEFEzNFcC3Jm9JxHNMYEogfQEWSsX3NF4RQS17bZdJjGS4QKUpZnBkpWfv9yciSjh mivMmc8mMibkQgO0z+ILeHMHWo5LRtItVcJDg9OUD5DGPFDHMshhaodSAAYJcWPJEPFw 3xRiSsFCqf2hwtLMr/wpC1M+jj2BUyiD/OXF1EJfe0wgLlT8/ocvLAEUUFH1ICjEMEbz tGhQ== X-Gm-Message-State: AOAM531MaxhUFkzhm5sZD8+GCAofbxHqgClQ6HaNc50mY0oFPVyRGKLC RjhgHiPnQcseDD9ysKRdLKd9uQ== X-Google-Smtp-Source: ABdhPJy7AdMNlnQsmc7ahmOLVyKj7KOQ0/XwFlLX4I3udO/Hou5pjQYlp3yMffNH8puN+0qemFNS+g== X-Received: by 2002:a17:90b:4d07:: with SMTP id mw7mr17215427pjb.66.1632404159921; Thu, 23 Sep 2021 06:35:59 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([213.173.35.225]) by smtp.gmail.com with ESMTPSA id p10sm6259198pge.38.2021.09.23.06.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 06:35:59 -0700 (PDT) Date: Thu, 23 Sep 2021 21:35:54 +0800 From: Leo Yan To: German Gomez Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Andrew Kilroy , John Garry , Will Deacon , Mathieu Poirier , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Mike Leach , linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org Subject: Re: [PATCH 2/5] perf arm-spe: Print size using consistent format Message-ID: <20210923133554.GF400258@leoy-ThinkPad-X240s> References: <20210916154635.1525-1-german.gomez@arm.com> <20210916154635.1525-2-german.gomez@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210916154635.1525-2-german.gomez@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On Thu, Sep 16, 2021 at 04:46:32PM +0100, German Gomez wrote: > From: Andrew Kilroy > > Since the size is already printed earlier in hex, print the same data > using the same format, in hex. > > Reviewed-by: James Clark > Signed-off-by: Andrew Kilroy > Signed-off-by: German Gomez Reviewed-by: Leo Yan > --- > 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 >