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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B8CF6C4167D for ; Tue, 7 Nov 2023 10:17:09 +0000 (UTC) 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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h7DzMK1OWHsk5CPRvloNzsOTcM1bJd6yRQWg947X4Rs=; b=rxCwmIxxRInkPW dbPYMGYmgGSgE21ofdj69XYqElLsYR9cJy5LQ66A5zjB5tM+ybMfjVPnowJgL4nOTtdvvXv+MeqGz 2k0PaMqbZ1P03dqW5rX9EXIEbXaC4il9Ts6KfccM4333guoaZx47H2oN+VUxnFx3bZOhtXjkhENRN eIzsJbEj7A8N6AqdgzI/ikn9kMGc4XLRKxtzlH/0XnUlInIGqxU6B68q7JJIZZ3ooni7UY1HLquXZ Pb61d7wluS6pTX63/Z3ve1sI9m5LkzEnuvdBH7wx6GCuG+URiz8tzIQcQ7Th8pJoOXnOiegWhAT0N dP9smPYLbRT+67Q43IYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0J8R-0011Wd-1h; Tue, 07 Nov 2023 10:16:39 +0000 Received: from mgamail.intel.com ([192.198.163.7]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0J8O-0011Ve-2x for linux-arm-kernel@lists.infradead.org; Tue, 07 Nov 2023 10:16:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699352197; x=1730888197; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=eGwALYACwi9GTa9+cK3u9YrctMaWgutJvGUdFWLOeoM=; b=RhWWPCVvo1WvFCJM/MKv5mpJ2EuF74PIVygXXn3Y1adwwNEmVzKsJGRL 4AieesijlmLESNOuZDBIu3VCL71BSXzctKCZ3zqLx1snBbLYyHNJs8EEo 1cnU9cHh3HkewZFm9H9Zb91DO+9e3zPf4MeWHi2SwnqSkn3vNmBFaBG5g lsYL01budpcdpHAxrBAZ7Jskvy9p35Deu3p+x/vXRX9uRetMlX0UvbNsY eFfUr1lHbCF0sstoSePQUnrXX4NwlbjI92+WPOYsSqF4/fp/U2V3O5b5n jWaaJO6tDu9SNF7UgEo3etbUgqIm/Vd4U1SJILAk/Tqy/X2mRNL62RyDX g==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="11016593" X-IronPort-AV: E=Sophos;i="6.03,283,1694761200"; d="scan'208";a="11016593" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2023 02:16:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="886243075" X-IronPort-AV: E=Sophos;i="6.03,283,1694761200"; d="scan'208";a="886243075" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.252.52.31]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2023 02:16:30 -0800 Message-ID: <6fc8bc4c-abc3-45d5-a8c8-045f91adfebf@intel.com> Date: Tue, 7 Nov 2023 12:16:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/2] perf auxtrace: Add 'T' itrace option for timestamp trace Content-Language: en-US To: Leo Yan Cc: Arnaldo Carvalho de Melo , 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 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> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: <20231107094852.GA656098@leoy-yangtze.lan> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231107_021636_996992_F849CA7C X-CRM114-Status: GOOD ( 20.54 ) 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 7/11/23 11:48, Leo Yan wrote: > Hi Adrian, > > On Tue, Nov 07, 2023 at 09:19:10AM +0200, Adrian Hunter wrote: >> On 6/11/23 23:52, Arnaldo Carvalho de Melo wrote: >>> Em Thu, Oct 19, 2023 at 01:47:15PM +0300, Adrian Hunter escreveu: >>>> On 14/10/23 10:45, Leo Yan wrote: >>>>> An AUX trace can contain timestamp, but in some situations, the hardware >>>>> trace module (e.g. Arm CoreSight) cannot decide the traced timestamp is >>>>> the same source with CPU's time, thus the decoder can not use the >>>>> timestamp trace for samples. >>>>> >>>>> This patch introduces 'T' itrace option. If users know the platforms >>>> >>>> "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. > > @Arnaldo, since James gave comments in his replying, I will respin new > patch set and send out. Thanks for popping up this patch set! > > Leo > > [1] https://developer.qualcomm.com/hardware/dragonboard-410c _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel