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 51504C433EF for ; Thu, 11 Nov 2021 14:50:51 +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 1C04961215 for ; Thu, 11 Nov 2021 14:50:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1C04961215 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=Dr6mV2hRuMECUCWroxI9f0FiSR3Wgm1r1xqCggoME5Y=; b=XVgW0Gf5GSSdda FXoJsv6r/K8OlbguNcywN85AuOd34N5hw8MhlNoFQhGUv8FXErfV7vEqhBlH/aZrYiga5eMXc/A68 fCtleILZXqe//1gAbLyfvk73KvuUGnKxG3r70Ll5NQBo2aXrn561iXLZUPFJpBpovrH+2S5I8WPCL bWAVZaM0Z6gyTjKkz9nUQpqUjaHw5ZFbSPY4SXO9UFK0n1ER04Bgiw/3nGSX8/CUrbeHssUc5ZTnV 2ifzliButn85NbJAnyp/ZipoPLo3+Thv5bm2qPqMWaLRCGMVPqDxyTIB3Ei40jXBwzvtX5JdU9S47 OuDPtzeBW+GwhXP51zFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlBOW-008BJw-TU; Thu, 11 Nov 2021 14:49:41 +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 1mlBOU-008BJL-6z for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Nov 2021 14:49:38 +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=PnxNDTqzSF8qMgkIhP6VXkQgQGSsz/Eh6hY/ZZNFDRc=; b=Yru6fUJjwRLw5yXE2zeq9BymnM +jLaAPyMPXorYdGOod6aMx4simZuVuRH6EWCTUCZDWz/i+46URkqabJKz0AT8MXv19j/R1velpE2j 7FoyPpQiK7z7PVvJh/zxiYeuO2S8IOlb99GGbPdna540EcnrGigyzdf2Kv9vKDUJYPdpiDuTNrGO3 +zLrdLiuB7476s3a6nVv7cnfy6VEIIWtMUWEVEtqiPClV0eAYE3e6rdkGo6VtqGrXq4rSkuj4IVJA vWJ/tlEosB/QWQSbknpX4gAzfunuhxpdHIJihVq8oNOElT6T4h6WbL7BcHjs/6DN7WZtKc7u9NyEq RaW3HJiA==; 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 1mlBOR-00FTj9-2L for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 14:49:35 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 1E620410A1; Thu, 11 Nov 2021 11:49:29 -0300 (-03) Date: Thu, 11 Nov 2021 11:49:29 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: German Gomez , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , Mathieu Poirier , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/4] perf arm-spe: Track pid/tid for Arm SPE samples Message-ID: References: <20211109115020.31623-1-german.gomez@arm.com> <20211111072714.GB102075@leoy-ThinkPad-X240s> <20211111132647.GC106654@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211111132647.GC106654@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 09:26:47PM +0800, Leo Yan escreveu: > On Thu, Nov 11, 2021 at 03:27:14PM +0800, Leo Yan wrote: > > Hi Arnaldo, > > > > On Tue, Nov 09, 2021 at 11:50:16AM +0000, German Gomez wrote: > > > The following patchset is an iteration on RFC [1] where pid/tid info is > > > assigned to the Arm SPE synthesized samples. Two methods of tracking > > > pids are considered: hardware-based (using Arm SPE CONTEXT packets), and > > > context-switch events (from perf) as fallback. > > > > > > - Patch #1 enables pid tracking using RECORD_SWITCH* events from perf. > > > - Patch #2 updates perf-record documentation and arm-spe recording so > > > that they are consistent. > > > - Patch #3 saves the value of SPE CONTEXT packet to the arm_spe_record > > > struct. > > > - Patch #4 enables hardware-based pid tracking using SPE CONTEXT > > > packets. > > > > I have tested this patch set, it works well on Hisilicon D06 board, > > please consider to pick up. Thanks! > > Hi Arnaldo, > > Please hold on this version and German will respin a new patch set for > a found issue. Ok - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel