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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CA56C433F5 for ; Thu, 11 Nov 2021 14:55:46 +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 4CB2260F51 for ; Thu, 11 Nov 2021 14:55:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4CB2260F51 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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=xblFaVDGrtCgqU/OgoBCPn/d19HYOJTlfaIXFgBBsDI=; b=uMne7oGgDPxXqM bgc0hXFYh1gKyMQAU0RAleztgzOWIULYEJnFgj82IPH1WlR6j5At+FzBIdBgRI0OZQfc4MXi+CLxQ 36Jc+KlMF2HIStdoV/S5IvfIwIU33BnbTSE1MtXgQuF9FyGUR61UIyTrFMSct8ixt6sUC95LHvoBS gvhi3ksaIuB0+Xj6MaKOpYEfRSaHmuxaXEoBBuDowOPidA2sTqiIUlsvAYvthF3B+fLs2CqBfW5qn kLSeS9gFPSI+Z0qxb7Uymzbaj9IPVEFy1Z4F6Xjh8zuQRsgU8wnAlQIAithNRitpkB2VNlBKRBL5U Zf2n6x2E1T6CpjJP/1hQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlBTO-008Bu9-LG; Thu, 11 Nov 2021 14:54:42 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlBTM-008Bti-98 for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Nov 2021 14:54:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=lcDUUQ2MSU/7/cjCJEgmSnylM24fq7mHUQ0JxjmTPes=; b=LYl7VHP7dv1qh77PrTTonRD6dE R+by50G05IWgN/9+awPsKXKfPv3SmFQA4Seh2MK+b85Q5kmm0qPPqCh6xufphgQ3s/wOe7cP+g+iA Z89g3rxDfesfGjhpyrtJ1gf34lYaXc7B4RY3FZ2+qIyk+XazlSQyOFoOY+Xd/pKtlaJD3vfbRP5cR JXfL4SW2ojtouOAEbm8za1tnhH+AuBL8Gmpdz4pgSMhoCH3yXCjPWBiQmt0DEsbgJUQl/Md+/HOi+ r2JSrIqcx70c3kG+95NoFbjUBaBaygQtVIgYXTAWZOPqyRQntI5OIRjqMwALrZTkcOxfAipJv5RTH 99B9+cnQ==; Received: from [187.68.194.76] (helo=quaco.ghostprotocols.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlBTK-00FTm1-FI for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 14:54:38 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id A804F410A1; Thu, 11 Nov 2021 11:54:35 -0300 (-03) Date: Thu, 11 Nov 2021 11:54:35 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: German Gomez , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, John Garry , Will Deacon , Mathieu Poirier , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/3] perf arm-spe: Add snapshot mode support Message-ID: References: <20211109163009.92072-1-german.gomez@arm.com> <20211111084621.GC106401@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211111084621.GC106401@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 Thu, Nov 11, 2021 at 04:46:21PM +0800, Leo Yan escreveu: > Hi Arnaldo, > > On Tue, Nov 09, 2021 at 04:30:06PM +0000, German Gomez wrote: > > This patchset adds snapshot mode support for arm-spe. > > > > - [PATCH 1/3] implements the minimal callbacks to support recording in > > snapshot mode. > > - [PATCH 2/3] implements the find_snapshot callback in order to handle > > wrap-arounds in the AUX buffer. > > - [PATCH 3/3] adds a test for spe snapshot mode. > > I have verified this patch set on Hisilicon D06 board, please consider > to pick up: > > root@ubuntu:/home/leoy/linux/tools/perf# ./perf test -v 85 > 85: Check Arm SPE trace data recording and synthesized samples : > --- start --- > test child forked, pid 17083 > Recording trace with snapshot mode /tmp/__perf_test.perf.data.MI2iX > Looking at perf.data file for dumping samples: > Looking at perf.data file for reporting samples: > SPE snapshot testing: PASS > test child finished with 0 > ---- end ---- > Check Arm SPE trace data recording and synthesized samples: Ok > > BTW, you could see German has another patch set for enabling pid/tid > for Arm SPE tracing [1]. I confirmed that the pid/tid patch set and > current patch set have no conflit, and don't need worry the dependency > between these two patch sets (so you could apply two patch sets in any > ordering). Thanks for the clarifications, applied, its out in my tmp.perf/core branch, that still needs some fixes for buiding on arm related to a recent patchset for 'perf test' from Ian Rogers, as soon as that is fixed it will be set in stone in perf/core. - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel