Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp388358rdh; Thu, 23 Nov 2023 06:42:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IELLkLzRVhWbaRcLls0dgfxARQ+QABNZZQbDgPIhb/KIFyKUtcIz2ilnHVeIqNNLJ7ER5Vq X-Received: by 2002:a54:460f:0:b0:3b8:3aaa:5a12 with SMTP id p15-20020a54460f000000b003b83aaa5a12mr5738098oip.51.1700750552964; Thu, 23 Nov 2023 06:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700750552; cv=none; d=google.com; s=arc-20160816; b=LJbfFAW06ySAD6QkFD5L6DULbvWiBX3581Cj58ZyRLa8aMpigEj2wvgTSgBGIAM3Gh qFgCxGJeu353hvD9w9E2iee3TU45dtWhyKZUX8htHOai5rIdQ2PBSkravrqKSHxWFTmE 5oFkuAUIEb+L4z5mZze780rPgZ+Czczy0Ra/2shVVyTqptfhxM8hWiOKCTHfAeFqLEu/ iD4SyVJTRFewB9m2f0pC9ZkfVeTacDSOjvBMh6RLRusy9AUph61+yUOOReyda4VnP0eu 9V947pewChIgJcdilwhxJ9xpZPPfnqyT0VomIz2rMV5K6hFyqVp1f96mEh3MXNjiaaCj sfwg== 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=xDG0as94/61GcAQJ/F6wz5560ss5Eor9atE+3RmDmoE=; fh=+/SFe8nGuQMf+t3JcDAs18ot8Ufr3XDANMj3WlfgM0g=; b=rImgK4uID2vzvjFylx9hLMQ35Mz2x1ZZQB/YTt2C81Php8T+eoZ6bXwcxhhnt7wPSP /EWDGgnbc2HXBNL4kmtW+7QTxZ1WJGpz/khuYKwid+qHi/0pdXIJaWB7YHIHdHm+U0q7 VpsihNVtQMdkyrb1Uf37GbYytX4hqjihpVRj+lgoZsdOJvwoz8G+Bh7nQDI9S0BS5tBX x4Gf7DYR0mmJg4WxYX2rave3wEHT0nuDxz94kY1qNhkq2JWOlCbBQPxM53hQ9ovwAf+u bKa/T03TEUQzSyffVBVN9saZRSvxCwxTHpVqGqFQm030tkdghcn8uQ5BykTdzYY+aUyZ zmGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q6AkV1eg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k1-20020a635a41000000b005b8ddb9c305si1353331pgm.30.2023.11.23.06.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:42:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q6AkV1eg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9A74481E8603; Thu, 23 Nov 2023 06:42:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345840AbjKWOmQ (ORCPT + 99 others); Thu, 23 Nov 2023 09:42:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345772AbjKWOmP (ORCPT ); Thu, 23 Nov 2023 09:42:15 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0A9E1A8 for ; Thu, 23 Nov 2023 06:42:21 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6870BC433C8; Thu, 23 Nov 2023 14:42:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700750541; bh=mfaBvRhfODG3G//JXKw40tGCkxSfBY+Q43wy4Fkk4fI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q6AkV1egQOR4iwp/oOQIOVMdXVAh6VnMf44ZFxdWRxYcQPdOSem5/kDFtj4RqqbrR DLGrlfnWEXE26WGZheblSS7JJKLf4n0QhwRzEDx05eY7gPTUcgfR+6Q+BfX6sC0avk gSKAI4hu6OxQ/vheUP97V32TMhd0fdhKR38u/S4vEUHX2XmZT37oyM1SWjNddY+BTn 9cj7eSax0g9aTJRSYcnGHJV8PSFGcZMhmxfH/ejo7t3gB38ZWyrYg/cGJ9pymjx21p mq6jPFox0f17VWk1o9s8Ohx/vhJCQ/kVoKATYEw7m+zMzyYzdskPKOau1FpBlIFeUb 1LKCcDV2IHuaw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 925D740094; Thu, 23 Nov 2023 11:42:18 -0300 (-03) Date: Thu, 23 Nov 2023 11:42:18 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: Adrian Hunter , James Clark , Suzuki K Poulose , Mike Leach , John Garry , Will Deacon , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] perf auxtrace: Add 'T' itrace option for timestamp trace Message-ID: References: <20231014074513.1668000-1-leo.yan@linaro.org> <20231014074513.1668000-2-leo.yan@linaro.org> <8a2ea58f-f835-4d1a-8bd6-3a63b3b0db94@intel.com> <2940af18-8bcd-4456-a8ed-e77cade1b160@intel.com> <20231107094852.GA656098@leoy-yangtze.lan> <6fc8bc4c-abc3-45d5-a8c8-045f91adfebf@intel.com> <20231107141808.GD656098@leoy-yangtze.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231107141808.GD656098@leoy-yangtze.lan> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:42:30 -0800 (PST) Em Tue, Nov 07, 2023 at 10:18:08PM +0800, Leo Yan escreveu: > On Tue, Nov 07, 2023 at 12:16:25PM +0200, Adrian Hunter wrote: > > [...] > > > >>>> "If users know" <- how would users know? Could the kernel > > >>>> or tools also figure it out? > > >>> > > >>> Adrian, I'm trying to go all the outstanding patches, do you still have > > >>> any issues with this series? > > >> > > >> No, although the question wasn't actually answered. I presume users > > >> just have to try the 'T' option and see if it helps. > > > > > > Sometimes, users are software developers in SoC companies, they can > > > know well for the hardware design but are confused why current > > > implementation cannot use timestamp trace. This is the main reason > > > I sent this patch set. > > > > > > An example hardware platform is DB410c [1], we know its CoreSight can > > > support timestamp trace, but if without this adding option 'T', we > > > have no chance to use it due to it its CPU arch is prior to Armv8.4. > > > > perf config might be better than an itrace option, but you decide. > > I understand perf config is a better approach due to users don't need > to bother inputting options after set it once. I will look at it and > respin new patch set. > > Thanks for suggestion! Thanks, applied. - Arnaldo