Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4685639pxj; Tue, 22 Jun 2021 06:00:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgEm2h6Vf7MZC+hWj+y3XWSgpGJjc8YYMzIZdBKWOochft5+iMxRYcHmrPQPdUR9zlOkHy X-Received: by 2002:a92:d58e:: with SMTP id a14mr2580627iln.44.1624366823052; Tue, 22 Jun 2021 06:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624366823; cv=none; d=google.com; s=arc-20160816; b=NPlGO+hzKdPhZ2iOG+gete98M4cNUE/A1Z2RIGfKpl63URfUxM6IvBfFY8VnoSlFxb kFFOHkRHDGmc/vVbaRUWXJt7dX03EIj7cQpGGNj2CEX6gXGA+lIxcQCR23kGZKixpLSr vmhs9sBcU3w23rSqybJTmKLDW6/NwfJETNFid4JUkd79DYsaj5mBWYPHGyPU/Eja8dkt jM+HHbcWUX/yM7OWeltrG2buqt4MGLmWcFPqBqZxLM5SkBeYr6yd/DD+2c9nmHq8x5Yh mlty3AvduZ4FV+8WtV0mffv/85ZDTdnKIO2C1GVt4xQLi0gJ1xPS9efdAsq8aPjWWtPt 6aJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=f9OF9+cTsV76jYHHpwVoZLDcZqPbxO7qKYzofSgo8Pg=; b=N0zlSKAevF7KY+c3+5qAnZASAxQQWFDh6JVQcvSdplGv4s0UR1f0zyJymqY8CNku2j bq/JRKA8bcRxHg24uZZFxJ/kkl/au/ZAJzrYDqMjnIJ/PTDmL3pm3zgqK5KN59jNrkGd Jl0Rgeq2bYrDjqByT77iVsZ2Nd5nvEzJP/rk061QzuJTffeyJxacB145OgqQhFizqsUF 3b0zNaxaC85GFWaFAFynDd1DNmJGA56zZh6vEUNNgeDd2XNveR4CDQi2+ptJsVMJDGTo NW3RDTxDtjtQwbOMNz54mUj1PiPTboVUa9+/DmcWY/5CXQ/0tZ07ZwjPvVac3xsMu5Yx JxQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OFpxtQm5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r127si23800418iod.92.2021.06.22.06.00.08; Tue, 22 Jun 2021 06:00:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OFpxtQm5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231897AbhFVNAf (ORCPT + 99 others); Tue, 22 Jun 2021 09:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbhFVNAe (ORCPT ); Tue, 22 Jun 2021 09:00:34 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A4A0C061574 for ; Tue, 22 Jun 2021 05:58:19 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id 13-20020a17090a08cdb029016eed209ca4so2215643pjn.1 for ; Tue, 22 Jun 2021 05:58:19 -0700 (PDT) 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=f9OF9+cTsV76jYHHpwVoZLDcZqPbxO7qKYzofSgo8Pg=; b=OFpxtQm5vLGwlFw+Me/BiyK4F1HGQ8R+ScFVH7VPPr9O6v+UFQ0giHLU6qr0zmDIiE EeBmtWHlaJhb20ucnFYs4oSmXHRtnGaXSyLjmyX9kOVzSyWlImVG9yDcQwkjcx/UwjzT 7XMgfiR4OXKa3i03c6fhDVJxFPfLHc4MwVF3WwJ/TUmjy4s/cPJw7SHu4mer/2Oblf/I t//Is8QJagddM2Qe6zyv14oXp88+5Z2DXGHe6ssdL6mwomllfQf3hqx+Uf0xcC8nabf5 wWVlYJ7UHGTIgPZPA/A3Kjp7H+deAehv5gYmrA+SOMGqE59ZukWnVnpRVlUbwWjEFud9 kPbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=f9OF9+cTsV76jYHHpwVoZLDcZqPbxO7qKYzofSgo8Pg=; b=nyxzxaJS+jrTy/yOyTtO61B9e1MAH/MSAfnea8nJC2kLvzm41djkKsMlDTOMPfdTOs cvlJzxMX2qqyHdwFaUPQTEBFBCU0ZyFQmrnixnq750QnpcgauwbYwOehWR4XAtiwGFJf 56X3bOAN+Gf+n14Rnn/xtMbPAGeDItwTvlKRS3mfQQGbMpiOO7R2J8nbq3xWKpjmjNYZ Yk+KTscwb/jSDrkyjTfGNlfYYRD6vk0iiMYFSjfSjOxqqkUtfrxqWRLPmG6hpYsIF+7c r9Aj+fjO+bowIW2wgbvpaInI5i1AkLACx3SKnDYhTWMtZ+oQlST0zKN9lLGDY73xDqAm of2A== X-Gm-Message-State: AOAM5321tSOb4w9QTFpkjcA1lqeAkeM+2Qh4k+LSEuXMNCp4RC4f9CD8 TDXDCnjCPs1TNvgYWsuGbflUtw== X-Received: by 2002:a17:90b:247:: with SMTP id fz7mr3877637pjb.137.1624366698531; Tue, 22 Jun 2021 05:58:18 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([202.155.204.36]) by smtp.gmail.com with ESMTPSA id u1sm17984196pfu.160.2021.06.22.05.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 05:58:17 -0700 (PDT) Date: Tue, 22 Jun 2021 20:58:11 +0800 From: Leo Yan To: Denis Nikitin Cc: Suzuki K Poulose , Arnaldo Carvalho de Melo , Mathieu Poirier , Mike Leach , Alexander Shishkin , John Garry , Will Deacon , Peter Zijlstra , Ingo Molnar , Jiri Olsa , Namhyung Kim , Daniel Kiss , Coresight ML , linux-arm-kernel , Linux Kernel Mailing List , linux-perf-users@vger.kernel.org Subject: Re: [PATCH v1 0/3] coresight: Fix for snapshot mode Message-ID: <20210622125811.GB297306@leoy-ThinkPad-X240s> References: <20210528161552.654907-1-leo.yan@linaro.org> <5cf3effb-fccc-9385-6328-6d1e2e5ccdf3@arm.com> <20210612032721.GB36748@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Denis, On Sun, Jun 20, 2021 at 10:21:57PM -1000, Denis Nikitin wrote: [...] > > I'd like to leave patch 1/3 out, and resend it if we get conclusion. > > At the meantime, @Denis, if you have observed any profiling result > > (or profiling quality) difference caused by patch 1, the feedback would > > be very valuable. > > I evaluated AutoFDO profiles with benchmarks but I was only focused > on the system-wide mode. And as I understood patch 1 fixes the issue > in non system-wide mode. Yes, patch 1 doesn't work for the system-wide mode. In the system-wide mode, CoreSight driver has its own reference counter to only allow the last CPU to fill trace data to AUX buffer. > Currently I'm OoO so I won't be able to do further evaluation. No problem, thanks for the feedback! Leo