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 7B141C433F5 for ; Thu, 11 Nov 2021 08:48:02 +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 3A0B261247 for ; Thu, 11 Nov 2021 08:48:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3A0B261247 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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=L7yvs8YYN89YJ1ZkMSSrfX0VLzzj/hlZQEDElDoc4ng=; b=CO5GM3Ebe0ER/+ TN1Rb+sD270GLO0N0i0nhW68SWXuV6n4jBrfrW7Oykcv+MiVJ9cwjkQFmwBgaA39zTY+fXE2s5WxD XUJJZQXQLt189D/eCopBLbXYewD24/4eOjY2M0WKPWpBl9AocTIlxkXDFagjUsrmQHPD3/48laOLi mqzAxwg+Lies5MKLNgxqMhi+J9zIBRMtA4LwBqZzl5IKxuaFwcDky7TuOAfBBjNjPczmh9ecWMqO7 kibl2X3E68TX+4kpUg95OqijSmYvCS14sJgZ+d0z2r7lkMDoN+xdunAmDBPNL2XqmBy7QfOgNpdU7 yLtmlFLUL4ZsDcS/s4Nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml5j9-007Wc9-V7; Thu, 11 Nov 2021 08:46:36 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml5j6-007WbP-3B for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 08:46:33 +0000 Received: by mail-pj1-x1032.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so4062272pjc.4 for ; Thu, 11 Nov 2021 00:46:30 -0800 (PST) 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=X9IP5stMcpgy5gXCqX9WjtPNwYi8lKxGc0A+5eLNygg=; b=CNiAPKPOiMBHgpW43nm09SBn5/Bmpj8JIF8iR7UEYJZvzNvwJUjpk4XE7wWuOqOVzm 0YnF3WP6krIxWDbY6vq6woejuw1WhfmDS0LLzx0p4RfIMyg17cvi+W6F1ijAGTDy/AQP Z55SeuY9UlHTcBkkhtX9HCcNQ5C6I2wS0v2xbllP9VPmvPZ07FqFoxoY1q1BdZVY4GYs BszFpBwGDwzob8jeIRmFcFvxkjeln8OX7w4RmoyVcIZbPknk+HkMNrcK0DVovmzJUYh6 PAmeqAVYFkZg0vVdqT/F4fOuQfPneCLrv+eOyqJDA+x59Z+FjQNkGSyk1781AliT95dp D44g== 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=X9IP5stMcpgy5gXCqX9WjtPNwYi8lKxGc0A+5eLNygg=; b=cdRNBygydZsI283P8/Sd48onovDJ/Ybynlm456+qYhx4ZF4fEhYHJINn34EddKQCVd oouy7mitR+zyUfzBmaDHYYq9FwB/2UP/zcDr1GY3gJ9K8kqoGR0Xo1YMU+6WAWYjaEwf BYaz4/e+mszJuXpZ/gdg8ttzmgIlELuZdoVI6jWDtoSYfFhd6pALVQxs8ZKOZroPg+yo nRZhFT2kJGCEG0XvsXDnAZloqgeitIftMmdxXWc8S++/KYCkmDVQx0ucevPv4yGgY3bI GwGGnpE/SiqJx1nNXLWTriVw9qZq6eoRDIuIMMC2G7m+lJyaXjE/w7ziLYxchzuuW1sa lN4A== X-Gm-Message-State: AOAM533Rl1EAs4GeXT7VWIhH30nVoGPN0Rspdn5dwm2//Bo9ke6903ax R5zG1/Lifxz5Ti4qrazatYTMaA== X-Google-Smtp-Source: ABdhPJw0g0ToYV0M2YMiLzuBLbDuk5PxfEXneXKZZqYsGl0dLARwgp4aWHhfLpm+6YzO8Ie14KDf0w== X-Received: by 2002:a17:902:9694:b0:143:6f27:29ad with SMTP id n20-20020a170902969400b001436f2729admr6002968plp.46.1636620389862; Thu, 11 Nov 2021 00:46:29 -0800 (PST) Received: from leoy-ThinkPad-X240s ([148.163.172.147]) by smtp.gmail.com with ESMTPSA id h23sm2215233pfn.109.2021.11.11.00.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 00:46:29 -0800 (PST) Date: Thu, 11 Nov 2021 16:46:21 +0800 From: Leo Yan To: German Gomez , Arnaldo Carvalho de Melo Cc: 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: <20211111084621.GC106401@leoy-ThinkPad-X240s> References: <20211109163009.92072-1-german.gomez@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211109163009.92072-1-german.gomez@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_004632_187032_F9D64A73 X-CRM114-Status: GOOD ( 14.87 ) 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 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, Leo [1] https://lore.kernel.org/lkml/20211111072714.GB102075@leoy-ThinkPad-X240s/T/#m932fd26d54278208331d4e3c32597cf63b6d4341 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel