Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1503173pxb; Thu, 16 Sep 2021 08:48:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhdmBDT73rTseDnqIOlgKrMkKiOMpWeFhJgxFJMWrj1E4ZnfBVCIWvAeOScLLd9Bm4Mo0q X-Received: by 2002:a17:906:a187:: with SMTP id s7mr6875695ejy.191.1631807334510; Thu, 16 Sep 2021 08:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631807334; cv=none; d=google.com; s=arc-20160816; b=UTgJ6WOKU1fSvNup3Zm7I3MOD2iNGl1FDLOXEsLAS7NL+dOp30ishwfgToaRULG/0V cen876dA+sJo+RgPHRSH01k6JTxldVpqTYRsRXRT3oa2bsjfnUU+c+Ikl5PUclT2vopu pJ2Yu06niNfTW4a7OVAHr9kYstjgskcsD7/mM8answxTHfD1GX9oY1ldpGgiHuE11jHp cfuqGz6WBBWLyGiNVAkKOh0zp009LKiun5hnoX7/SpyzKHdxEHIh7nsdIE6h5IYvNMJP P/hDr4K95f9CpIVPMBu2tSbkGYmSlksnmxfrUQgPSXHjHkSUEj+ipeOZXq3WY120dq3G +d9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Z8MtJhF2r+BUItuXSaNYE64Auwu6cEOjQS30D6SvEzw=; b=lQQDzLgj/Hmo0/kPb//Ce2UOd/6gaBLOdLewoSE8fI5XZGnjBMFCA1WKTcIJXQMX4i glXt5WpXHnuOGh/11PBUPT0wheSfadMwOkfFAfJ/GNNJG07Qs69cW/yPiwu9XEMuIq2Q MvpJDNmgZ0dANPedV9ZF6y+IvxO1rp0+Cg4TXYB5U//bnXgwbZcpyCwanDGHhDj1s9UK 1LafDFXU6GVbOAQxnE/tiIso1frpWz1Rm/sbZrAOJU5e9JWF8V6rUwgQvDBt5mE0koNs O6Hv4UnlJVcSP/VYhGPg9CS+H8Ty0Zjb3TA99SF1f/MTjsCKq0QdFC8Qw/8Bx6AlZMRV O42A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f13si3808741edt.55.2021.09.16.08.48.30; Thu, 16 Sep 2021 08:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239190AbhIPPsR (ORCPT + 99 others); Thu, 16 Sep 2021 11:48:17 -0400 Received: from foss.arm.com ([217.140.110.172]:39330 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239050AbhIPPsQ (ORCPT ); Thu, 16 Sep 2021 11:48:16 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 15B50101E; Thu, 16 Sep 2021 08:46:56 -0700 (PDT) Received: from ubuntu-18-04-aarch64-spe-2.warwick.arm.com (ubuntu-18-04-aarch64-spe-2.warwick.arm.com [10.32.33.30]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F2AF23F5A1; Thu, 16 Sep 2021 08:46:53 -0700 (PDT) From: German Gomez To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Cc: Andrew Kilroy , German Gomez , John Garry , Will Deacon , Mathieu Poirier , Leo Yan , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Mike Leach , linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org Subject: [PATCH 1/5] perf cs-etm: Print size using consistent format Date: Thu, 16 Sep 2021 16:46:31 +0100 Message-Id: <20210916154635.1525-1-german.gomez@arm.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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