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 771FFEB64DC for ; Tue, 11 Jul 2023 19:26:44 +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=RUsoeZ+GqGjt8uUkpIPgif0AcaZg8iQRIcVNEJVm5Sk=; b=IHI/q12qDHAhIz EzSVYeQahWBBCH6EtNv1+66/5F+z5flBwyFZ0Dh/JdKsXwYNQV6iheONPluXAUpfUVxh6SkJQMf1c SYLzXlCKTr6Bxln4k8C1TjpbvN2JNccug1lHk3m3pIsX8xNowXs7YRcY98WQ1gCI+yuWizJ5r7Vyb f2QZyRlfi+5uXB+MJtbFvURSkmZwIJQrthsvl2d0aP+02DHrDNN9J1A8yPxg/AuKLeItRx+RKPdBj PT1ba+m3L8jkdeI2/4j1VALMjVm1Jz847CQrW5GVJs/d1DAaymnJzUSmR8OcgwksbczoIOyzgMtY4 CZEBvKdH8AIJxIFR9+WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJJ05-00Fk5y-2i; Tue, 11 Jul 2023 19:26:17 +0000 Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qJJ03-00Fk5Z-2v; Tue, 11 Jul 2023 19:26:15 +0000 Message-ID: Date: Tue, 11 Jul 2023 12:26:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH V13 - RESEND 06/10] arm64/perf: Enable branch stack events via FEAT_BRBE Content-Language: en-US To: Anshuman Khandual , 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: Randy Dunlap In-Reply-To: <20230711082455.215983-7-anshuman.khandual@arm.com> 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 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 > + relevant information such as cycle count, misprediction and branch > + type, branch privilege level etc. -- ~Randy _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel