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 143E8C433EF for ; Wed, 18 May 2022 04:18:20 +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=AGdeNJQs2Fc+xWO+nkfqCJbZ70nvi+fOV1UNWquhZ/M=; b=WeSQNT6tRGNB83 XOwwSHapoPPJnyOdL1I0x66Ka28aKdCUlpK0j9Lb6c3wo6LLQsWFI6hbEslNa8Sty62QG2FnSuapY maDs3at2k+dSuZmnLZyXjuZJb/HUS8sQEoD29ghhQbnINF8VMGQpX3/Hq9LLrgfYtY7YMhhrPOzlZ RO2TBzPe1WvT/LB2ikEQ0/N+awWkejVv3iIHJMvn/cJhU2lkyDq0Gc/Ei92oX/Lxp+oJ5iTQ/mMse dYOMtwOYaMaM78aX2D6jyg9EFyLkwN9YgMfDbR7va68m3mq+7BP8zKlqHW3dqHYVHRyT5nEuRt9a1 dXgGIn5hQqpZJV3xObRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrB76-00H0Yo-Or; Wed, 18 May 2022 04:16:44 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrB74-00H0Xt-38 for linux-arm-kernel@lists.infradead.org; Wed, 18 May 2022 04:16:43 +0000 Received: by mail-pf1-x42f.google.com with SMTP id y199so996849pfb.9 for ; Tue, 17 May 2022 21:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=a1/wuoT5db0kZRpIcSlyOn+OdTYXUqFFSk5R5NCmBHw=; b=MyF+2wckfA0xYav8+EWfGdnkUM0DYtS4Y2y9V/ytqWLSrqhylsXZ2s8Mq/FwmlhHTq lxy7FfrbV8Ab+3HwWgL2PI6Y6FSeSSbOvBijJNxilLM156T5cCkLfa2mR/pUiLxy48Xx x8WGMoK7dbEGOcP9xeFijVk+gWVRAX8xXilDHmGp0kXMQPvqoI3nl3uya0+Vmck8dpFQ 9wDqW4/ODwpDMX2TfgDg94LOwZrur7HoIiSsRbBbTyr1DyAvksOdQu/GjL0B0k2a32VY xfFSvTFSZGm5qBDg+NsrxsizvAE8eD7RzwAAMBBM3nF1lb4JZz62ffvjJ/QE8dMb6mBk NYAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=a1/wuoT5db0kZRpIcSlyOn+OdTYXUqFFSk5R5NCmBHw=; b=GJnf5XzFfOZszRzlzgk7xH2mwcsJClJa7teUz6+ryNgeCBNJAUa6D7QOW7APP57A2Q xOlX472g56LIM29fmuORr1qE8Es0Vqrx2cZMMK1/32eJlVvKuWQYM9nldkyVBMScS31C DbkgxU4IYKghfssNx7nGMmL/9k1ADSnhyCxmnae4xjAV0KoLns9odzctm179i75EPh7w 7LdMdieetC4Bw91Wnsz0z8r387YIhV4F2gTkP3cIKEYAMDd+BRqh+fOovKKrxfsuHwmb GS+WNlw7pQGSrZXe2rjjqlb+9xSutmtf0ulHkQ75sJ8luKANwclxbm4aUWB6aJsmq0JH fWNA== X-Gm-Message-State: AOAM5321+gDGr6q1nBHPSb6BZ8MlbLZWZvKt4u7qN6s4/HR1oN1a3FYp bAoYLh4pbB9UUSXHM+FFC0gTkg== X-Google-Smtp-Source: ABdhPJxIV/XkPSMp7Do5pkXR6Jtk0s9fhWG2Gr5Uks+e1PYfpOasm2UKlDlq1CpPFhRZ9d2o6C/HGQ== X-Received: by 2002:a05:6a00:170d:b0:512:ebab:3b25 with SMTP id h13-20020a056a00170d00b00512ebab3b25mr22777489pfc.32.1652847399126; Tue, 17 May 2022 21:16:39 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([137.184.121.66]) by smtp.gmail.com with ESMTPSA id p123-20020a622981000000b0051811c2aa89sm568212pfp.196.2022.05.17.21.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:16:38 -0700 (PDT) Date: Wed, 18 May 2022 12:16:30 +0800 From: Leo Yan To: Arnaldo Carvalho de Melo Cc: Ali Saidi , Joe Mario , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org, german.gomez@arm.com, 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: <20220518041630.GD402837@leoy-ThinkPad-X240s> References: <20220517020326.18580-1-alisaidi@amazon.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220517_211642_180187_E6BDA73C X-CRM114-Status: GOOD ( 18.84 ) 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 Joe, On Tue, May 17, 2022 at 06:20:03PM -0300, Arnaldo Carvalho de Melo wrote: > 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? I have uploaded the latest patches for enabling 'perf c2c' on Arm SPE on the repo: https://git.linaro.org/people/leo.yan/linux-spe.git branch: perf_c2c_arm_spe_peer_v3 Below are the quick notes for build the kernel with enabling Arm SPE: $ git clone -b perf_c2c_arm_spe_peer_v3 https://git.linaro.org/people/leo.yan/linux-spe.git Or $ git clone -b perf_c2c_arm_spe_peer_v3 ssh://git@git.linaro.org/people/leo.yan/linux-spe.git $ cd linux-spe # Build kernel $ make defconfig $ ./scripts/config -e CONFIG_PID_IN_CONTEXTIDR $ ./scripts/config -e CONFIG_ARM_SPE_PMU $ make Image # Build perf $ cd tools/perf $ make VF=1 DEBUG=1 When boot the kernel, please add option "kpti=off" in kernel command line, you might need to update grub menu for this. Please feel free let us know if anything is not clear for you. Thank you, Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel