Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp477328pxy; Wed, 5 May 2021 06:51:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGmaL7IelJeHhlRIx/UufWQX00r3D48B8Q6Vg+cC45pYZAOVP1SWrU7meNfzeJeRpPEaXa X-Received: by 2002:a17:90a:7897:: with SMTP id x23mr11593741pjk.133.1620222699328; Wed, 05 May 2021 06:51:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620222699; cv=none; d=google.com; s=arc-20160816; b=eiii4cjon++aZZx8BD98ptHrmxpn1YmqlNrHh1DIfqNJQu3nvkmF2vkXNCZIG8tYLZ /35bFt6YaKtOdZE2y8Z9AXtvlWYo1JHe4z54uiUebgYIlwLD+U+ylqxns1/HeqbvzsLA Bs1wzexs4oQP4QeRrLgTMEpttjG7+8u8S9qg6OsrIl7aSwPEetfOq82SItloXb09A1Qa M4430JnJ7Rx+3B5kvus77cN2oye2ahE6pYxZLGeye9pd0l819C8JGTheRrmp7NMlu1zw P7p/UveOMWSXIGJ0wj0dGE6y3bynWWyFZj99P0kH48U1skAwZ1PoMh7wdsvRoOPmaf/Y gPYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZmrSklyNn993JO4VYeO/fW62F9azrwgVImQvr6lMfJ0=; b=FRWhpbrzS3GuSyr0PMfzOFydDyJUJus38fwByKHDiP85WH+NwZVEd1fFW2xnDSArK/ trqlKF0pnCX5MMVXH02ur5B5ibxjcH2/JejPMEFbFKE/n650ArHS/YR5NJ+jEA8SDhXo oJLkupuJz9TN4QmQgPcIH2W2HDP074kaFTcAsdK4yKougYraxKymeLAquZSAyi0lmkJ9 w+pfXjJW0B/uI1Qy3aOISHUoax/GKbJRDlCKcb3jwU5/sUSk+qZrUsF3ydYjvPPn/q5t SDSu+fuYsjUtjJ4n+sz66RDPNSqRpGhqosvxQ9uoT0judGPbbMUwfW+hMyqefPSfjzb5 JMpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YozxFOeS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si4115299pgq.213.2021.05.05.06.51.24; Wed, 05 May 2021 06:51:39 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YozxFOeS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231783AbhEENuZ (ORCPT + 99 others); Wed, 5 May 2021 09:50:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:37944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232671AbhEENuY (ORCPT ); Wed, 5 May 2021 09:50:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 32F1C610FB; Wed, 5 May 2021 13:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620222567; bh=Tm+F5vmFGdQSaSHmk68Jf6ftLuqZ2EEpYYwH4nIBnXY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YozxFOeSEy50DTkosgSr4QcepmTZ0o1EytnZ2n+Z1xg2U5IvLAPg5wuz3UKHduIJ5 qq4hVCEL7CyWUVmGprGS/DtEPewPsV8UfX7ttgBMWscoMXCtp8iICpOQloxCI/a8xY i4THL5v8VJs+QdLJYsTrqyhx5fM8vtvtj/9l7MWhX7ZwI1DeBBmX6OWWTOjCKsJLLN YPEkeaS/0UeQ8PfCrc5O9t96dTW1M1gKtbV3cF5uPCXkDImcAOVCZZukeAGZakUlOz y4eMZxOhQbsLkziFWxb+3jTKnnpb0v9XQqQNNcXo6FWa8HZp4iaxdGKzdGdtXeAXNe qVyVkUXWlGhhQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id BF5EF4034C; Wed, 5 May 2021 10:49:23 -0300 (-03) Date: Wed, 5 May 2021 10:49:23 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Jin Yao , 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 Subject: Re: [PATCH v1 1/2] perf header: Support HYBRID_TOPOLOGY feature Message-ID: References: <20210430074602.3028-1-yao.jin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ? - Arnaldo