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 X-Spam-Level: X-Spam-Status: No, score=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75990C11F64 for ; Thu, 1 Jul 2021 17:05:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2E68E613FD for ; Thu, 1 Jul 2021 17:05:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E68E613FD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=JM/KDoFJIoLAqLjPcTwRCTGQZ8ghbJEHzmEOnuCWu6s=; b=0Cbds9BWTjARSQ bUop89hiqQ/M2aCcBDryhF2hDaQycaP7p8DIyhPDPJthBWO7zff7xLLpnrs+IjSIdOSylBLDPKQOb +d3gUPCcc49CV2sFMbd4p/ka0vX7C0e3V0M3NxA0SbN1t7ejJ/QG7LZ671ZDlarAHrLXknFl3SLXe Wf2Pz1xf1+OCjWgLFFFdoSCk/N1AQXg5FfIED92kmIkJIgll/GokX6bE/AuOZxzI5zHbSs98vcr7V nHXTNC2WNMJ8Oed+ySCkVXBDQb65p+C2qNmOG8NpYSuYkmQ3Op1ua5urPukuZ2wGPBzkOvasFkrYD rzEyvYIuGiCnaQMpD7kw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lz06c-000WfM-As; Thu, 01 Jul 2021 17:04:02 +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 1lz06Z-000WdV-S9 for linux-arm-kernel@bombadil.infradead.org; Thu, 01 Jul 2021 17:03:59 +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=Yw92aHURB/HLZx49EFF7GJiTHzXdf7W9NE+iAfeWms0=; b=mo9YywMIiKXmpdeHoNnmRxImRH BAEJDr8Abv8ui3LV/NhdRKnvKr85E+uBbOTK2e2EenhbXJu4symDEBiCB/H/32R2AJRHtUEJ2nAO5 99kCiWwIYtbuYCfIJOLNh1vY/JMcZ+DHnXeB3nriZOOig+7IvU3mRWTSPhzh0YBjjyi1uV8FSHxUc W7PAsRXi9CIMXXSLg8xE+jJziA6KdqwGeD0AOjXX3vrqfn4YgMhiBAd3U/1ipgMKE7YvG12yQA4Zc iql5d0eG+eSg1XgDo5K8wGH/w0Dv0iO5fpMq9LIOaW47XrL392VbG+fhKCfAW+D4+Y39vURT5kN2x xs++ZAmQ==; Received: from [179.97.37.151] (helo=quaco.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lz05y-006nPi-5z; Thu, 01 Jul 2021 17:03:28 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id B526040B1A; Thu, 1 Jul 2021 14:03:16 -0300 (-03) Date: Thu, 1 Jul 2021 14:03:16 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: James Clark , John Garry , Will Deacon , Mathieu Poirier , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Dave Martin , Al Grant , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 5/5] perf arm-spe: Don't wait for PERF_RECORD_EXIT event Message-ID: References: <20210519071939.1598923-1-leo.yan@linaro.org> <20210519071939.1598923-6-leo.yan@linaro.org> <369fd454-d94d-daa1-ead4-b42645ec4282@arm.com> <20210628121217.GD200044@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210628121217.GD200044@leoy-ThinkPad-X240s> 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 Mon, Jun 28, 2021 at 08:12:17PM +0800, Leo Yan escreveu: > On Fri, Jun 25, 2021 at 02:25:15PM +0100, James Clark wrote: > > For the whole set: > > Reviewed-by: James Clark > > Tested-by: James Clark > > I see a big improvement in decoding involving multiple processes because the timestamps are now > > > > For example perf-exec samples are visible right before the exec is done, and on an > > application that forks, samples are visible from all processes. For example: > > perf record -e arm_spe// -- bash -c "stress -c 1" > > perf script > > perf-exec 4502 [003] 259755.050409: 1 l1d-access: ffff80001014b840 sched_clock+0x40 ([kernel.kallsyms]) > > perf-exec 4502 [003] 259755.050409: 1 tlb-access: ffff80001014b840 sched_clock+0x40 ([kernel.kallsyms]) > > perf-exec 4502 [003] 259755.050409: 1 memory: ffff80001014b840 sched_clock+0x40 ([kernel.kallsyms]) > > perf-exec 4502 [003] 259755.050411: 1 tlb-access: ffff800010120fb8 __rcu_read_lock+0x0 ([kernel.kallsyms]) > > bash 4502 [003] 259755.050411: 1 branch-miss: ffff8000105b2a40 memcpy+0x80 ([kernel.kallsyms]) > > bash 4502 [003] 259755.050411: 1 tlb-access: 0 [unknown] ([unknown]) > > ... > > stress 4502 [003] 259755.051468: 1 l1d-access: ffff800010259a24 __vma_adjust+0x1f4 ([kernel.kallsyms]) > > stress 4502 [003] 259755.051468: 1 tlb-access: ffff800010259a24 __vma_adjust+0x1f4 ([kernel.kallsyms]) > > stress 4502 [003] 259755.051468: 1 memory: ffff800010259a24 __vma_adjust+0x1f4 ([kernel.kallsyms]) > > Previously samples were only attributed to 'stress', which was obviously wrong. > > Thanks a lot for the review and testing, James! > > Hi Arnaldo, I confirmed this patch set can be cleanly applied on > the latest acme/perf/core branch, so could you pick up this patch > set? Applied, thanks, please let me know if there is still something outstanding, - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel