Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1504688pxb; Thu, 16 Sep 2021 08:51:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiv3hJpQDEZS/LvqZ+Rq6JUGwKi38ikx/PZsxJsODFwncgniKS2L6SENqqPPIqIy/b5W+/ X-Received: by 2002:a17:906:6c94:: with SMTP id s20mr7237280ejr.152.1631807467753; Thu, 16 Sep 2021 08:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631807467; cv=none; d=google.com; s=arc-20160816; b=WUgVJi/WXCygluSa8aE92sAOE8g8yi6ZShQCkmwrWjmTSXdgekRgaDQuTnCqoQbYeq vl2UQxMnHLCYWjZlW/Hzt1b5EnOqfpI+idmX4IxxbBphInj8Sk26c0Vwb0W4Ncpw41Bh bEGYR8wQMXxKQC74/GYdbjoMUiMvHpaSl7temxbKcf8lj37y9T+LaDDamyWhlmaqeazG mDqDyO13EAW9uCEhFE3OZeAQp8F0+ZVnlDrlV3p2oS48qGMNvyCrknw9wFvOy/2AB1XG pe0TLRDItiUD/1k4GTcYk8d8tZ4Smi0pTk121VQiLzQPQ58j2MP3sptnlhYM3FSuIcxo r4gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=/zZgE+L+VzX+7oppg8OVTg98Swb0xC0HbRCuJeNxgNo=; b=PSK3vPurPPubUD70byl2vC+7IgB1EK0tCNw6J/z0JjPbrSk4Fipdht3xRGHEcOvkFl JQ6QI2R4e0DX4m6BgvXAMOsOrGRFQnoa0MsN2AMU4Hi03rBbac911Pq6+Rqb6Fsrr5ls M2+9Z+EIf+QvpNKndXT8118QqCi28+u5e23M/FNEaPR7kK93ZyICpxeS2TZwCejw1YJ8 EFpzdpOqOsHu+Y/3aDnFMwsEahmjcrRqfRMCyYp91t+dg8KkRy/rDoJLIr2OZ8bcXUoo gi329KqCbSaoHOhDdIl9mfXIX/YS83E1/UvXNuuNhvmfVTJccstE5lwJ8Z1nLuZ+dMYn IrGA== 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 cc9si5635696edb.38.2021.09.16.08.50.41; Thu, 16 Sep 2021 08:51:07 -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 S239708AbhIPPsX (ORCPT + 99 others); Thu, 16 Sep 2021 11:48:23 -0400 Received: from foss.arm.com ([217.140.110.172]:39354 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbhIPPsX (ORCPT ); Thu, 16 Sep 2021 11:48:23 -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 4B10C1063; Thu, 16 Sep 2021 08:47:02 -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 351EB3F5A1; Thu, 16 Sep 2021 08:47:00 -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 2/5] perf arm-spe: Print size using consistent format Date: Thu, 16 Sep 2021 16:46:32 +0100 Message-Id: <20210916154635.1525-2-german.gomez@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210916154635.1525-1-german.gomez@arm.com> References: <20210916154635.1525-1-german.gomez@arm.com> 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/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