Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp961959pxy; Wed, 5 May 2021 19:24:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvd+kbovOliAiKlZE+1otVgZtM40vjqAL4J0FNHN3XPBJY3ZvoEREFXzpoO6yg0om8xCEH X-Received: by 2002:a05:6402:447:: with SMTP id p7mr2245963edw.89.1620267871235; Wed, 05 May 2021 19:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620267871; cv=none; d=google.com; s=arc-20160816; b=ygN6kE0x0S+ol4sGtMpQlYyAzItTDo6eJYF84hnBTmDTKYJGP4LmlzR0gPS7EjOFes M1nnnYAraFr5QXzaO789f67vAEQW9+h2uQOiKz9izrizIw8mfUqGg1VGn9jVc8TSOgMw rNpp1ZV7/MTQzb0Ue4cZyvXMGxfSWDj7RBATRHY8jHsp8DLFwThN3x2c6409c7KoCzaI MzX47FGVke/BXOoRHePobEyH01anCLalPKGzOjknmkctl0XHKOSKc3uslI0ZHh5yadfs lOJ/YVk9LLFhO9pSlO1xduReFGBzUDsoa06Mwft5tlDBG1yXL89hXBVCxCqJz69eQF2e hh0Q== 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=LhTKcZXw/u7zFz774tPWcZI5lQCcEsa/gTLKG9jt0e8=; b=KOt8DLL2gdByXFMTleQEmnW/RZxNtWJ9UNbxiCcKSol33KdRds7xT3UANJe5hPO6ue SBaFZs0Q/4hd9iCLUECrw5DiztGvb3UzDYsVFxvydtIXCWXoUtXcvGyzQSGmqEDuaF00 wS9WC3UhXO+35WpqQdts6NoL2ZimD98Zl1z7A+hLTeCNbNnaYCvSqevbyYrdfdzvRgb9 Sy5dtIyRb+asJus7CB4IrpnFPOcbtzn3Dsaem+tgFf5owWcta/oBpMxtdC5W7FDc2OGM 0qmq59yP7VU2KUUZcQPg0327IaYDAgQ4f0XGtLxT+ZUysYZKIUJzLWiZHurqBh2vDYid WVwA== 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 y2si968627edr.397.2021.05.05.19.24.07; Wed, 05 May 2021 19:24:31 -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 S231473AbhEFCXr (ORCPT + 99 others); Wed, 5 May 2021 22:23:47 -0400 Received: from mga11.intel.com ([192.55.52.93]:6872 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbhEFCXq (ORCPT ); Wed, 5 May 2021 22:23:46 -0400 IronPort-SDR: QrP1rrvhPXb07KWT4xEJ9Zrrq67gb5ish3g9r5PKc8qJo31XAFtsHlIAHP+RgdodQuTqf8JZvf hmN8FQD47/zA== X-IronPort-AV: E=McAfee;i="6200,9189,9975"; a="195236045" X-IronPort-AV: E=Sophos;i="5.82,276,1613462400"; d="scan'208";a="195236045" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2021 19:22:48 -0700 IronPort-SDR: SfHyyOLNGdl8JZ7gdVwKgIeJD+7K53nKxnWnLPRjLNz4kzI3YNqc5kdc0i9DUBNk0rvSwWvJhR c241KjzrGj0g== X-IronPort-AV: E=Sophos;i="5.82,276,1613462400"; d="scan'208";a="434114146" 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:22:46 -0700 Subject: Re: [PATCH v1 1/2] perf header: Support HYBRID_TOPOLOGY feature To: Jiri Olsa , Arnaldo Carvalho de Melo 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:22:44 +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 Jiri, On 5/6/2021 4:28 AM, Jiri Olsa wrote: > On Wed, May 05, 2021 at 10:49:23AM -0300, 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 >> >> ? > > 'hybrid pmus' would sounds better to me, > but as long as there's hybrid in there I'm good ;-) > > thanks, > jirka > :) Thanks Jin Yao >> >> - Arnaldo >> >