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 A2700C433F5 for ; Thu, 11 Nov 2021 07:28:30 +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 69F7261183 for ; Thu, 11 Nov 2021 07:28:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 69F7261183 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=UM05HhIaFF/ctDx+FrW7mACvihK+DWsyDF2wWXleLlw=; b=3BJALahVYP/zz/ 5ndUDDe/BqF6G4/bYZEH5nnAyekpuPorc39raEVKjHqN8JxFTWpLt5Q2ATzA5sl/11ex3lP4XhP9a GCz++yxAPXODwJk0VxyVuUKizGhzE+l9zJVL3Sqs5jp5hIsbpAozel3CVKJvQJFRE5hXb/08M2VZb HSS/krjtFXqn/QbsESGaMSXvLP9fcuvcZ6QstYPymxasAQO1cv+VdfbaYkXY0cEH+nYgFP5c8tuVn 93ZWwDhN3h2gNRcp4svF2dsF9wMHf7DLE+OF7XYu9hEUQyXsgrBNQsB7U2Opa0olwlJsT7+g/djeO hpFXucLH0Na4LjRxOrsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml4UY-007NzF-PG; Thu, 11 Nov 2021 07:27:26 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml4UU-007NxY-Vg for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 07:27:24 +0000 Received: by mail-pl1-x62c.google.com with SMTP id k4so5047919plx.8 for ; Wed, 10 Nov 2021 23:27:22 -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=JCdi6ova47Widl1JEkNIXeu43n0j2ewnGf1cGDnwtV0=; b=US3oy7TDXGqlv+iD6HgB37PbwzQ7XNDYZ32d3X6CTgd5bPJ1O3HSs6x3K7qvqOVilX dOFcMQx9Nn4sGOQtc6A96itXD5JSmFGpUiY3XKaJY3dwcRM0CeMUVrOEy5ZwEnwS9qeh I+7t6OLPYxHdQQdf07cPV2yxAqG1HeabCbfb93nd+vsNCy/aXWT4JUTlDqaoYwuCN6WX x3fC74kJXI+HCAvgLLWI8q3T3wodkCvCOMD+aKrKhPYwgvjpHM0FNYqnpuVoW2nlnHX9 mFrZfVFNexc8U2rCPbflXArxI5VnlvxS3Ic786qJCwZ/Zed7q9bmJ+uSLOzxupf0uk71 JAsg== 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=JCdi6ova47Widl1JEkNIXeu43n0j2ewnGf1cGDnwtV0=; b=wm3Qr+8lp+EK/aSLobZ4C5IYYPA0g+2vIoKxm4Uny4dF/7vnlXCMKZ5SnsYLgps4X/ 1YlF3z9Bbb1pDfMbc0+LpWMyV2sO3KJuwTDoLI+rE79omTgDHLBHCO2yFgiV//Pj8E+C Xvn8N//tqpg2evHYUxLZWIjzECC/F3BtO2kkAjMmaUCFbHukN3cX4bAdUyzkFPDK5t0X /8KA6+qD4R8ODMHAsQi+pBSHKPXHHGTm6WSKu/fyMoGnlaoYpTvobeQ8gKEZnFXaP4NT EYEDRRs2H3SosH1XOQif15zQGVLYxiZxzGArjrM6EsWkk4+KzYfxQfbHtJ2zjn+9u+EL dqmA== X-Gm-Message-State: AOAM5326RpkrBimq4tq+7bpWfREoj86tE2WGY4l2YtKmgnbXku1nt3Cr 1V8KyGT5Z6saXOjYfC8PNrNEKQ== X-Google-Smtp-Source: ABdhPJyJk2/3R7hXGyXSsqGDrrLFGqP8DLHcuOIFzzXZCsDFdZhpiWT7lexHtz0bwW+eDvu+9ijFTQ== X-Received: by 2002:a17:902:9897:b0:143:84c3:4341 with SMTP id s23-20020a170902989700b0014384c34341mr6034559plp.64.1636615641738; Wed, 10 Nov 2021 23:27:21 -0800 (PST) Received: from leoy-ThinkPad-X240s ([148.163.172.147]) by smtp.gmail.com with ESMTPSA id o18sm1427790pgb.83.2021.11.10.23.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 23:27:21 -0800 (PST) Date: Thu, 11 Nov 2021 15:27:14 +0800 From: Leo Yan To: German Gomez , Arnaldo Carvalho de Melo Cc: 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: <20211111072714.GB102075@leoy-ThinkPad-X240s> References: <20211109115020.31623-1-german.gomez@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211109115020.31623-1-german.gomez@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211110_232723_046349_C81C8657 X-CRM114-Status: GOOD ( 12.95 ) 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 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! Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel