Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4375311rwb; Tue, 8 Nov 2022 16:27:00 -0800 (PST) X-Google-Smtp-Source: AMsMyM61aNsmITJdpWaFAT3NUtpteFOwaeF1EKXXorXtctWkC+XKRMPvizeyqnzdwYfKk+bPwwl0 X-Received: by 2002:aa7:c417:0:b0:463:3f0c:be12 with SMTP id j23-20020aa7c417000000b004633f0cbe12mr50593742edq.35.1667953620514; Tue, 08 Nov 2022 16:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667953620; cv=none; d=google.com; s=arc-20160816; b=KjQ7Gha1zTG1b61i2HqUcNaWj7NHw0s/uQEXlqcZcuJ9Pl4gKTFQ7vLLpzsk8PBIJ8 kxXuB+o9hMAjm+wGNMUTJXrDhZLeeKgy2/FK4Tes8fi7qbC7zxKTK//EdLwCp5KVdfuQ QHFJAcgt9z8nKuQhjdGtsvpujhZlRDvp2hLI/mdkBkxhcB1zFq8dxuQmjUrC/34xf1xc tcgAO5S68TS4MhDV8SVw+hgXSLMwS+ouo42gP7sPm6pX2lRN8FiyGck/D7MbmWtn4Ud2 SxNnScmYMtaG2X+Vm1w480B8Mpatflx5mIeD56C7hed0taWPGEtpYdTyauaTuqGgtmNW M+Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=B7YoVV98EP3WuF9Zp/9GcsV7J+sGun7sEL/nyZsXGP0=; b=NbH58pWih8rVj6TdgvJAKusc3FzPcDRVLhV0Lo1eUuCRmxUnUKjiU3xan5JxOu4cmn zJkvcbU9SMrO5QLWhlDOOrNXC+b+oTRwEsQ+xVU4W5whu5y/+rpeFocbl6ifui5gJ4hZ eLn+jUJ6MyE33DEnLgY+C9Y0JJpFyo6X9uvrKdq9PZMs9Y3XMSYZ6PlOb8EZX71Ua/b3 BGxFujnHWR34q5ZkBMP5InEX+1wa3gZUrwCY3iQZIYT7Cf0HbprUpAw3XEktno0Be5Ei m/f9PQJ+ZWtfg8g71nklBQVsZpMkcTiIXOgGLBLP/DVWnIhIN0Ps245GHLx+UrIB1rzN xQ6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc38-20020a17090716a600b0077f4fcfe49csi15480583ejc.905.2022.11.08.16.26.36; Tue, 08 Nov 2022 16:27:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230024AbiKHXbk (ORCPT + 92 others); Tue, 8 Nov 2022 18:31:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229774AbiKHXbi (ORCPT ); Tue, 8 Nov 2022 18:31:38 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B6D0BBF63; Tue, 8 Nov 2022 15:31:37 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ABE8C1FB; Tue, 8 Nov 2022 15:31:43 -0800 (PST) Received: from [10.57.68.207] (unknown [10.57.68.207]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DE19B3F703; Tue, 8 Nov 2022 15:31:35 -0800 (PST) Message-ID: <10992b96-85b1-bf1f-d7e1-994b00a507eb@arm.com> Date: Tue, 8 Nov 2022 23:31:34 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v5 10/14] perf: cs-etm: Update record event to use new Trace ID protocol To: Mike Leach , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mathieu.poirier@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-perf-users@vger.kernel.org, leo.yan@linaro.org, quic_jinlmao@quicinc.com References: <20221101163103.17921-1-mike.leach@linaro.org> <20221101163103.17921-11-mike.leach@linaro.org> From: Suzuki K Poulose In-Reply-To: <20221101163103.17921-11-mike.leach@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/11/2022 16:30, Mike Leach wrote: > Trace IDs are now dynamically allocated. > > Previously used the static association algorithm that is no longer > used. The 'cpu * 2 + seed' was outdated and broken for systems with high > core counts (>46). as it did not scale and was broken for larger > core counts. > > Trace ID will now be sent in PERF_RECORD_AUX_OUTPUT_HW_ID record. > > Legacy ID algorithm renamed and retained for limited backward > compatibility use. > > Signed-off-by: Mike Leach > Reviewed-by: James Clark Acked-by: Suzuki K Poulose