Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5053841iob; Mon, 9 May 2022 07:45:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp1AGJvlJtd6EUukSFtvZh+yMGmLdarU3vIDm4DMXE9NbX5Rze7UcfSHEGcVuk5zlv/xap X-Received: by 2002:a63:4459:0:b0:39d:3808:7c84 with SMTP id t25-20020a634459000000b0039d38087c84mr13446715pgk.130.1652107501320; Mon, 09 May 2022 07:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652107501; cv=none; d=google.com; s=arc-20160816; b=RcdtQQ7r4GdvZCixxNq/FFynIsL0sxFvpm4JiVgi60sFtXxCybg6J25zdmE7S68pFv nN9k9ky8ML7VWv1ZLWx9AZxpR2wE8mYHblBBMkpFk7xyF4OpnYcVqQwyl9OUVmW8B1vG 9k1vgEqvsjLOTxSZHxtp7r1fNX5AOyPP3mfRNpZmBsIx19ytRvH77yTAgq+EbCFO9Q0o X8bvQ4j782RuJEGzIcTJmJWeLf4D3mKL++3zU+Txl5OdxgiH7My04xN6F+Y6aTw/XjVU q1JQjaMknkKEKaZTkdT53wp7SRbzGWqXud3KAPXuvqCGZqMH0fXtpOjvwhSSGbU/Zeo1 yTow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Pyc9rIzWEsJVbLjP7T+zO7v8WDPL9llvlOk4YElLJLY=; b=jT507Pz1mum3MOhlkxHhbKYeQb+Rd+KLJ2Sj16oT7ii0oW9W8G7FPn0nJhzoNG8jxG b/LcrHP8YuazdzY9wV/DxeTfXmSTV2xZhObSELPeT4GNkGbmtzYmeaPTl7bBgFjdTbTk vcDUN5EKrA3VL/WxnuC99b673GDFV8RyutnOLG1g+u2b8ss+wZh2v4tOIB+P01nAUzb2 9CY6ZJ7p2xtEfME0GdSKroeIsYlCzImDEmEnNo7JhmRrBw9p0A0SUfWQsFzCzg+OrxEs dvnPZM0M0DbiHxEUiMZap/lnKxkAkx0FvItV1/Pg9ssyz5kbxdM9Czfpx8JEVc/7Ef8I 9fJw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id il7-20020a17090b164700b001dbd2678f12si26975943pjb.30.2022.05.09.07.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 07:45:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EDF232173F2; Mon, 9 May 2022 07:43:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237588AbiEIOri (ORCPT + 99 others); Mon, 9 May 2022 10:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237533AbiEIOre (ORCPT ); Mon, 9 May 2022 10:47:34 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2BAA31ED2A4; Mon, 9 May 2022 07:43:40 -0700 (PDT) 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 06DD5153B; Mon, 9 May 2022 07:43:40 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.4.213]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9EF4C3F73D; Mon, 9 May 2022 07:43:37 -0700 (PDT) From: James Clark To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, broonie@kernel.org Cc: german.gomez@arm.com, James Clark , John Garry , Will Deacon , Mathieu Poirier , Leo Yan , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-doc@vger.kernel.org Subject: [PATCH v1 3/6] perf tools: arm64: Copy perf_regs.h from the kernel Date: Mon, 9 May 2022 15:42:51 +0100 Message-Id: <20220509144257.1623063-4-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220509144257.1623063-1-james.clark@arm.com> References: <20220509144257.1623063-1-james.clark@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Get the updated header for the newly added VG register. Signed-off-by: James Clark --- tools/arch/arm64/include/uapi/asm/perf_regs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/arch/arm64/include/uapi/asm/perf_regs.h b/tools/arch/arm64/include/uapi/asm/perf_regs.h index d54daafa89e3..fd157f46727e 100644 --- a/tools/arch/arm64/include/uapi/asm/perf_regs.h +++ b/tools/arch/arm64/include/uapi/asm/perf_regs.h @@ -36,6 +36,11 @@ enum perf_event_arm_regs { PERF_REG_ARM64_LR, PERF_REG_ARM64_SP, PERF_REG_ARM64_PC, - PERF_REG_ARM64_MAX, + + /* Extended/pseudo registers */ + PERF_REG_ARM64_VG = 46, // SVE Vector Granule + + PERF_REG_ARM64_MAX = PERF_REG_ARM64_PC + 1, + PERF_REG_ARM64_EXTENDED_MAX = PERF_REG_ARM64_VG + 1 }; #endif /* _ASM_ARM64_PERF_REGS_H */ -- 2.28.0