Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp974940pxy; Wed, 5 May 2021 19:52:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2wbSDu20P4CbBxROkeDlPSR5QPPLPwyuVks4aaTUN3m/HZXKZqVpFuuuu+b+hYLS0m+bn X-Received: by 2002:a63:210b:: with SMTP id h11mr1914956pgh.196.1620269538248; Wed, 05 May 2021 19:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620269538; cv=none; d=google.com; s=arc-20160816; b=z78Zdd4p6VxmvehTzqRTaPiZjdoPEzQ+XjAFhTMgzC+5bcyZs8hqQPZYgwfMS/Gh2q 43maWlzEpqPf5CETSCP++J3qSg2RkdRtixT6TiMQKmiZ7jpZMTmzCmH2QqsEIZCmeqY6 BTSJ7738xSz8eHx1rrKC/7a0rhbAkUTKCSRyCsojKydA37h1CKB4Oww5NtxWEtvqi7/P IZHefTwU4jbwHUrCi0qgRw8ojvV1Unhj3kLtdXVxv1k3lSEwxxzzgYMZGA0RGg3nFHAk dZGUQagjALw4EX9b5h065yXHRb8irMYXiSNABn3RfVcBdOWA6RbnmDck+q+K+j7UeIDt IxOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=PO3D8KFDej0Bpx868ABCGxnB6x6LQEvjTNcFTygw+9s=; b=cZPvl69ULNvsskbRxLKVQ4PdY58JFR8mwMAINGtaCRMHk/MoUha1setRIEf24oSP3N pRUqMT1zLRe7XPrXaI382l0+llZ+KeX8VGaZGdgkVST8RBNWudI5jw9W68S01eZnr83O 7vwDAqxW3rhcAEq2OwQFhhzqHmksPTIwDiZxhO7iAYypr1jgLd0FmhTCK8psy6hbb2oO cq1hpjqkqXRijo9HAL4JOyMPSarmtcKY/E/nd2+eWd63lWOYQLPnN98iUbAmQ/9Pjz6d TtZk5E6d0WIJVejNGMzrB5qAW5HbbN5904a/f3Tst2AYjUsqX90Y3NBR/lBMIlVPh+Nd ZZag== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 62si1181496pla.318.2021.05.05.19.52.04; Wed, 05 May 2021 19:52:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbhEFCSe (ORCPT + 99 others); Wed, 5 May 2021 22:18:34 -0400 Received: from mga18.intel.com ([134.134.136.126]:59048 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbhEFCSe (ORCPT ); Wed, 5 May 2021 22:18:34 -0400 IronPort-SDR: bD/uPtSENMGzJE3zvXxa4fnN+B01ddwZzalDZc/Wg9TxAV5xA/yN3lQ1u0NKrgjY6bpC4Gk9Jo DGWnBpERQ94g== X-IronPort-AV: E=McAfee;i="6200,9189,9975"; a="185818877" X-IronPort-AV: E=Sophos;i="5.82,276,1613462400"; d="scan'208";a="185818877" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2021 19:17:36 -0700 IronPort-SDR: 0eZjQhvS6wTzEm3/NX5QFvAAa6wepwUsPJ6bLS570U94Oi/9qIAKC81WdKkmVaK3zhDoOWmYK2 9hb7OfBZub9g== X-IronPort-AV: E=Sophos;i="5.82,276,1613462400"; d="scan'208";a="434112674" Received: from unknown (HELO [10.238.4.82]) ([10.238.4.82]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2021 19:17:31 -0700 Subject: Re: [PATCH v1 1/2] perf header: Support HYBRID_TOPOLOGY feature To: Arnaldo Carvalho de Melo , Jiri Olsa Cc: jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@intel.com, yao.jin@intel.com References: <20210430074602.3028-1-yao.jin@linux.intel.com> From: "Jin, Yao" Message-ID: Date: Thu, 6 May 2021 10:17:29 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaldo, On 5/5/2021 9:49 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, May 04, 2021 at 09:37:34PM +0200, Jiri Olsa escreveu: >> On Tue, May 04, 2021 at 04:28:33PM -0300, Arnaldo Carvalho de Melo wrote: >>> Em Tue, May 04, 2021 at 04:56:44PM +0200, Jiri Olsa escreveu: >>>> On Fri, Apr 30, 2021 at 03:46:01PM +0800, Jin Yao wrote: >>>>> It would be useful to let user know the hybrid topology. >>>>> Adding HYBRID_TOPOLOGY feature in header to indicate the >>>>> core cpus and the atom cpus. >>> >>>>> With this patch, >>> >>>>> For the perf.data generated on hybrid platform, >>>>> reports the hybrid cpu list. >>> >>>>> root@otcpl-adl-s-2:~# perf report --header-only -I >>>>> ... >>>>> # cpu_core cpu list : 0-15 >>>>> # cpu_atom cpu list : 16-23 >>> >>>> hum, should we print 'hybrid:' or something to make >>>> sure its not confused with something else? like >>> >>>> # hybrid cpu_core cpu list : 0-15 >>>> # hybrid cpu_atom cpu list : 16-23 >>> >>> But this _core/_atom already got to be enough? I disagreed with that >>> naming, but neverthless having one or the other present in an output is >>> a clear mark of this hybrid topology. >>> >>> I.e having that extra hybrid string that wouldn't add information to the >>> output. >> >> sure when you know that cpu_core/cpu_atom are hybrid pmus ;-) >> and I guess other arch will come with other names > > Yeah, its too Intel centric, I thought they would come up with > cpu_big/cpu_little and map it to core/atom on Intel and whatever other > BIG/little arches come up with. > > Perhaps: > > root@otcpl-adl-s-2:~# perf report --header-only -I > ... > # hybrid cpu system: > # cpu_core cpu list : 0-15 > # cpu_atom cpu list : 16-23 > > ? > That's a good idea! :) On my ADL test machine, it's now output like: # hybrid cpu system: # cpu_core cpu list : 0-15 # cpu_atom cpu list : 16-23 Thanks Jin Yao > - Arnaldo >