Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1000846rwr; Thu, 20 Apr 2023 08:44:55 -0700 (PDT) X-Google-Smtp-Source: AKy350a3q6mFl4VatImjG+R2rsgcEnDZrqWkPGgGqVeSv5MSsrNo/c72ay3hwSJW+RS9cruz+jQA X-Received: by 2002:a17:902:aa02:b0:1a1:aa68:7e61 with SMTP id be2-20020a170902aa0200b001a1aa687e61mr1903775plb.33.1682005494833; Thu, 20 Apr 2023 08:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682005494; cv=none; d=google.com; s=arc-20160816; b=wfacjJKo0XnXEZ2mqia7p/R3Ar94iCtzZYbyVX4XAG5Db6ks0BzjiRswD9XvSqjJQL u5bpCjLm2ZShJQLmYLGUtML88FLQlJk/Vr9wr6TwEihC0LOuVRJXaiFpYiY0JY1nPd47 DjLHp/LrWpAPFFPZ2wJ1SWQ+s8axLLtbVvJLmBEmrTBWnpy+pmDUl1Pyar/W88JYgiIX 0SbvEbKCfB5g5geOAReCBkmQcEKdi8XANn3+Z88jd48/HmXglT21pWout7OzuvV/VRuX lexrEq/ZFg1bBlqOnKxfRtt7Z0AdvalGfprB/APjrC4nKzdNYIJp2GbOMloRV+I+V20N peYA== 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:content-language:subject:user-agent:mime-version :date:message-id; bh=N+ja/SQwxBpZMUkoDmJFQPG19te6vbwyjW23/wL6h2c=; b=dv5HVeMhOdFVt4sXulq7IGhbKbQywWMQETFVCR3qXtwZh98vHGzAyFPaYeKatPZQq/ FPEwhtdeBCxLH3ZTKMyazf+6i6UhmjN9p21M6DGzr73ndEG0l4RgaRwZH/jfoUirh9Nk jRuXQM6lSugDuUc1liO/pkc00YdjLY4FE3az52N0Y2aOKWmAwmYnD/mSBM+ZVVu6rUqi LliD3tYcTx/pzE19e7H++35ztT26mEE3pvkGJXIyGtRGhbKyIGJT0fPYMGBUPc6+iBgF qYP43a0uB1B1+Msxqnk6lHqToDBCYEjZm97+m9poM0lPM/6s+O+vJ1PhpSecvT2idb+Q JsLw== 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 w17-20020a17090a8a1100b0023f2e6a146bsi4635710pjn.41.2023.04.20.08.44.41; Thu, 20 Apr 2023 08:44:54 -0700 (PDT) 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 S231706AbjDTPo1 (ORCPT + 99 others); Thu, 20 Apr 2023 11:44:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbjDTPoZ (ORCPT ); Thu, 20 Apr 2023 11:44:25 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25933E6A for ; Thu, 20 Apr 2023 08:44:24 -0700 (PDT) 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 85F5E1480; Thu, 20 Apr 2023 08:45:07 -0700 (PDT) Received: from [192.168.1.3] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5D8F83F6C4; Thu, 20 Apr 2023 08:44:22 -0700 (PDT) Message-ID: <53132776-c998-a24f-a811-d8fb2e5e6535@arm.com> Date: Thu, 20 Apr 2023 16:44:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] perf cs-etm: Add support for coresight trace for any range of CPUs Content-Language: en-US To: Suzuki K Poulose , Ganapatrao Kulkarni Cc: mathieu.poirier@linaro.org, acme@kernel.org, darren@os.amperecomputing.com, scott@os.amperecomputing.com, scclevenger@os.amperecomputing.com, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, mike.leach@linaro.org References: <20230419172101.78638-1-gankulkarni@os.amperecomputing.com> <84eb3363-2ef8-d3f1-4613-805959dbf334@os.amperecomputing.com> <91ba66e7-737f-6526-a703-a755e114f9d4@arm.com> <902dea0e-456b-d763-fdb5-a520ea3d7536@arm.com> From: James Clark In-Reply-To: <902dea0e-456b-d763-fdb5-a520ea3d7536@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 20/04/2023 14:03, Suzuki K Poulose wrote: > On 20/04/2023 13:37, Ganapatrao Kulkarni wrote: >> >> >> On 20-04-2023 06:00 pm, James Clark wrote: >>> >>> >>> On 20/04/2023 12:47, Ganapatrao Kulkarni wrote: >>>> > > ... > >>>> My patch is rebased on 6.3-RC7 codebase with Mike's 3 perf patches >>>> related to dynamic id [1] support(queued for 6.4). >>>> >>>> "perf report -D" works for me. >>> >>> I was referring to sparse CPU lists, which I think you mentioned above >>> doesn't work even with this patch. >>> >>>> >>>> [1] https://www.spinics.net/lists/linux-perf-users/msg27452.html >>>> >>> >>> It should be based on the next branch here: >>> git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git >> >> OK. > > It need not be. Since this patch is purely perf tools patch and has > nothing to do with the kernel drivers, it should be beased on whatever > the tip of the perf tool tree is. Otherwise we risk rebasing to that > eventually. > > Cheers > Suzuki > Good point, sorry for the confusion! I wonder if we could have some kind of new staging branch that has both up to date perf and coresight changes at the same time? Either that would make things like this easier, or more complicated. I'm not sure. I suppose I can DIY it quite easily but then everyone would have to as well. James