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 A69CFC433EF for ; Thu, 11 Nov 2021 13:28:17 +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 7444F61207 for ; Thu, 11 Nov 2021 13:28:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7444F61207 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=onbDe1jdHv2RI0YmNqRWgtv/WcNIclesv1pIH05i3yk=; b=N8h271EpbDB1R9 U2w7UIM48UaVg0Fendd0Cxs2b86//6hRhvCWG7jso1guXvD0vQzbs9UMj3AAeFR+01kTOehwGVJOf /0Qh8wON35TMyxcy20vkEOBrHhxUMUUKU+8ROEz5YvHbO0E6YM0mTwEQRlyCz/YAZFHkB2kQYdFrt Z0krQBTIat6eo4j0KaiVKrVgTdmm/Op6CyHE3fD4UQ781fFiU2aHSWgOgzArApUwaxZBM/bUW6/95 vJsqZ4yPYxNug/4RrM5N3vb3b5dIDktfqEP3XqF62gOhJvE6l0Hgofqrf9pSOj0cjYzd20BAYBJCn R7df73Kk3Hm87GK67P6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlA6c-007yRW-KI; Thu, 11 Nov 2021 13:27:06 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlA6T-007yPc-Pv for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 13:26:59 +0000 Received: by mail-pj1-x1029.google.com with SMTP id n15-20020a17090a160f00b001a75089daa3so4626884pja.1 for ; Thu, 11 Nov 2021 05:26:57 -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=+5ZZCvB7cw3hxgR2a0Zb0YuaBAaUVc++Fgiq7CcVKlI=; b=Gc2X4tKrbUgmH8pZ6b2ngv7PYyDIUUmGkDXHWRyLKAP9hlLqOtfzQttT0prEy79j8x 7QLu6UMoc79OxVTgbKvFzW6+z/2I+k7M+TsObUUc3/H7jAXhPnZRUKFF98vPc28LhKB4 fcDsze/LsOPhYY3oDztOzwtk9R6IU1rEUELwYcrC3sGzjp8nAYWHQ9FMD73x/heFh2/u YbiXH9G++3/y/mjzD/bPRo7CZek6T48pUMzEr06NuNzy21IODIa/+VXSjRDS8MzYyUzi 0noUg50ItLHTLmDv8pdVCA7W4I6WN/+pFq/RKv95TT/x70ux+jCa8RYtbRC03JpPCfHj BuEA== 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=+5ZZCvB7cw3hxgR2a0Zb0YuaBAaUVc++Fgiq7CcVKlI=; b=RQNRptC4RXaGFSdvs39UNFm9zQOvgrvKr0C9lfehOMC8srWKzWBQUYntXcnE35bbai 9VqwWPsoE2nGalyFhBTBc8IOE3eNF/pkQ+hPAUFeY8E4sYUzWwMrTpF7op/dUBkguo70 ZNQxe5jfe17iU54/f7X6BlPJzBuwVFJmG5uPKheAe0ztCwIVDl0nkM62NsmthfiDQefe s7p71BDTBNjQBJ9wtoAIj1x/G0Td4HeYsSnkXDqvpC7cEVrifxQ1qGdzKTNqjcq2/C7n bR5yfJyRnk1pUKzaBTISmK7jh8w5+xoHRGkNwpK4Fd4mlU5NP0zcOTjeLzb5vx30oVT+ 9OYg== X-Gm-Message-State: AOAM530hEF8sxWtRy6k80adBrwHkjN6LzVyc4Z6KfnFoolRjqrgUsPWR kytIExnJQ6mCGww0M4232r/1MA== X-Google-Smtp-Source: ABdhPJx+iquOm/A/o8dJzkfx0jH3xgN1cdgV9HpuS1Ct1QFtC/wkEFVlMk5Xnct2Gpt4cu/NvdozTQ== X-Received: by 2002:a17:902:c245:b0:141:f279:1c72 with SMTP id 5-20020a170902c24500b00141f2791c72mr7636312plg.18.1636637216665; Thu, 11 Nov 2021 05:26:56 -0800 (PST) Received: from leoy-ThinkPad-X240s ([148.163.172.147]) by smtp.gmail.com with ESMTPSA id q6sm3309107pfk.144.2021.11.11.05.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 05:26:55 -0800 (PST) Date: Thu, 11 Nov 2021 21:26:47 +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: <20211111132647.GC106654@leoy-ThinkPad-X240s> References: <20211109115020.31623-1-german.gomez@arm.com> <20211111072714.GB102075@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211111072714.GB102075@leoy-ThinkPad-X240s> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_052657_936402_2856C226 X-CRM114-Status: GOOD ( 17.15 ) 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 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. Thanks, Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel