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 126F4C433EF for ; Tue, 17 May 2022 21:21:21 +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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SISroOXuul62og8jDpu9tyn1lIKQFD+xgLhugzTF42I=; b=UpBXt+FMaL5g83 RUDtaXnmlfuR2Eov5pl7/ebVNlfpZH+6hYCyttwvCitoF58mbLufJRDNhjrefmfWvYM8oxJq+sQ+X TGpKZqlBjsL6hEHRYvfcslY6ZB6TxPzVAfs5np/BINXvZ7MsvdepylfiVWsqDmt32FvnWf6z6SI1S xaeo+uqyEPwecwyWun2FNpRHHFK64T9vmgOV2lLCkT3Bcy9Cpr4+6X7yhBRFgZt0z3ZdMVYnoogVT WabABrgaWMmUubtIFdxd5NogLsiCaD3kcFZkXdf07WsAy68dwc8vgmiUmYDBgN3webQ4/cURJtP3O iJCg4SvPKCyJ0U8y8KfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr4c0-00FuMO-7P; Tue, 17 May 2022 21:20:12 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr4bx-00FuMI-W7 for linux-arm-kernel@bombadil.infradead.org; Tue, 17 May 2022 21:20:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ANWfVhfIoh6wJoMz9VqS0Ik8crQokSXr4NwtwVlaKP8=; b=vROfE71//nQe2ffQ5gSC2yRLwC M8hAwDX/QPt2zHSDvJPOhUuo+UySLErKZsfGnvm6Gq5Ssl27PHcozN3GBIGkfEkEeo/CAGMF9mfOF fiSMODoznc7rLQm2Q8IKaPvH2DEBDCMhFkXOMd2l36p113wYwqtQa9NrSGkCZ4IbRqYDXrOQaa9yZ wVzxDaTH7Q5NsRYQolF9B5Ug1uzeCDDgjsJadXha27S5KAYhOR0le5IyR+QAbKsu1U0QuBr/qUGqD GfOp/rrZeCD6+PC8X2Uq/BDr4a6vK/30nSDabOsblOxj+LiqzfXM7BYBPUGJteOhzwll48DcXyvPT 7it8Cqgg==; Received: from [187.19.239.237] (helo=quaco.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr4bw-00BBAL-00; Tue, 17 May 2022 21:20:08 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E4364400B1; Tue, 17 May 2022 18:20:03 -0300 (-03) Date: Tue, 17 May 2022 18:20:03 -0300 From: Arnaldo Carvalho de Melo To: Ali Saidi , Joe Mario Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, german.gomez@arm.com, leo.yan@linaro.org, benh@kernel.crashing.org, Nick.Forrington@arm.com, alexander.shishkin@linux.intel.com, andrew.kilroy@arm.com, james.clark@arm.com, john.garry@huawei.com, Jiri Olsa , kjain@linux.ibm.com, lihuafei1@huawei.com, mark.rutland@arm.com, mathieu.poirier@linaro.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org, will@kernel.org Subject: Re: [PATCH v8 0/4] perf: arm-spe: Decode SPE source and use for perf c2c Message-ID: References: <20220517020326.18580-1-alisaidi@amazon.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220517020326.18580-1-alisaidi@amazon.com> X-Url: http://acmel.wordpress.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 Em Tue, May 17, 2022 at 02:03:21AM +0000, Ali Saidi escreveu: > When synthesizing data from SPE, augment the type with source information > for Arm Neoverse cores so we can detect situtions like cache line > contention and transfers on Arm platforms. > > This changes enables future changes to c2c on a system with SPE where lines that > are shared among multiple cores show up in perf c2c output. > > Changes is v9: > * Change reporting of remote socket data which should make Leo's upcomping > patch set for c2c make sense on multi-socket platforms Hey, Joe Mario, who is one of 'perf c2c' authors asked me about some git tree he could clone from for both building the kernel and tools/perf/ so that he could do tests, can you please provide that? thanks! - Arnaldo > Changes in v8: > * Report NA for both mem_lvl and mem_lvl_num for stores where we have no > information > > Changes in v7: > * Minor change requested by Leo Yan > > Changes in v6: > * Drop changes to c2c command which will come from Leo Yan > > Changes in v5: > * Add a new snooping type to disambiguate cache-to-cache transfers where > we don't know if the data is clean or dirty. > * Set snoop flags on all the data-source cases > * Special case stores as we have no information on them > > Changes in v4: > * Bring-in the kernel's arch/arm64/include/asm/cputype.h into tools/ > * Add neoverse-v1 to the neoverse cores list > > Ali Saidi (4): > tools: arm64: Import cputype.h > perf arm-spe: Use SPE data source for neoverse cores > perf mem: Support mem_lvl_num in c2c command > perf mem: Support HITM for when mem_lvl_num is any > > tools/arch/arm64/include/asm/cputype.h | 258 ++++++++++++++++++ > .../util/arm-spe-decoder/arm-spe-decoder.c | 1 + > .../util/arm-spe-decoder/arm-spe-decoder.h | 12 + > tools/perf/util/arm-spe.c | 110 +++++++- > tools/perf/util/mem-events.c | 20 +- > 5 files changed, 383 insertions(+), 18 deletions(-) > create mode 100644 tools/arch/arm64/include/asm/cputype.h > > -- > 2.32.0 -- - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel