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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDDB5EB64DC for ; Wed, 12 Jul 2023 02:43:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Dt+mHwP/B1oh7R1edS1OOolOj6amCJ2IHc3GmyPm6Gc=; b=1lcyua4ixdGHAz jEX4opbtl+3UvlqmqfWqFA7GwrS0v4OroAaRkfIGTSEJnC5sG9zuequfOEdjEGmvfh20DMSLzlkwh bKncYSmMPHnhswdzCtl5Numwc3sGJ45KGK3PQujQGZ0F6IR5ltiJSy5nwXehC/dsfV4CTBpd2uJzN 8AeuEnOtLqun2TuEYed9SKxWaRpe5NKMYysuIJpbBxZYTxD58C9Gg+ozm3SZXpVYSdl1FluHS3sn4 TKZsRla3pkDwNDpjeoe7WVyt+x3ToULQUJAJrGtV0FgS5mt66tTYs5LB1Ejs1My3Oopp63SZizYiY gmgPm2kqyk/H7dThCa+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJPog-00GIEX-3D; Wed, 12 Jul 2023 02:42:59 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJPod-00GICd-1T for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 02:42:57 +0000 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 1A4872F4; Tue, 11 Jul 2023 19:43:35 -0700 (PDT) Received: from [10.162.42.6] (unknown [10.162.42.6]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7F1D93F73F; Tue, 11 Jul 2023 19:42:47 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2023 08:12:44 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH V13 - RESEND 06/10] arm64/perf: Enable branch stack events via FEAT_BRBE Content-Language: en-US To: Randy Dunlap , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com Cc: Mark Brown , James Clark , Rob Herring , Marc Zyngier , Suzuki Poulose , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org References: <20230711082455.215983-1-anshuman.khandual@arm.com> <20230711082455.215983-7-anshuman.khandual@arm.com> From: Anshuman Khandual In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230711_194255_540454_49E1C123 X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/12/23 00:56, Randy Dunlap wrote: > Hi-- > > On 7/11/23 01:24, Anshuman Khandual wrote: >> diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig >> index f4572a5cca72..7c8448051741 100644 >> --- a/drivers/perf/Kconfig >> +++ b/drivers/perf/Kconfig >> @@ -180,6 +180,17 @@ config ARM_SPE_PMU >> Extension, which provides periodic sampling of operations in >> the CPU pipeline and reports this via the perf AUX interface. >> >> +config ARM64_BRBE >> + bool "Enable support for Branch Record Buffer Extension (BRBE)" >> + depends on PERF_EVENTS && ARM64 && ARM_PMU >> + default y >> + help >> + Enable perf support for Branch Record Buffer Extension (BRBE) which >> + records all branches taken in an execution path. This supports some >> + branch types and privilege based filtering. It captured additional > > preferably: > captures Agreed, will change. > >> + relevant information such as cycle count, misprediction and branch >> + type, branch privilege level etc. > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel