Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp795437pxy; Wed, 5 May 2021 14:13:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+/W0m8JCuX4sETIIef99tK4irDNZrCyZ0xXf1lCP/56XRPf2mkUSje2opf6lfjCBxRBT6 X-Received: by 2002:a50:bec7:: with SMTP id e7mr1062201edk.295.1620249218308; Wed, 05 May 2021 14:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620249218; cv=none; d=google.com; s=arc-20160816; b=hG1S/UlM58hcxv0rceCSnqilEMjQkNkisOtEHhPhHPXY2cIdSGYyT5PZ0eWB/vbIUH 59LAN0/qviBM8xzbvtN8TRY8025Wqkheig6IyGjvKTmeyWvL6ao5UVRocqakm+olYWMN W1pI8JoRnz37fv/kPxDbpblsN7GzToJauQHpwrcx8x7RnG0qJvoUOPitcAXptuVrfb37 5JXm6m/F2obNX2mj0rmp+7Jnm3xOXM4IKDcOwQn3p45nM1JPLXAHIT1Xzfq2gNS5ho3+ Qlp+i1+i/37OkqFr9LhbJIPtWOmYYK2i794QtfLaw9tBjP2OjKa4dnyBqB8Q8XNIBRF9 JBEA== 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=ng51bOLhRP5pIpPnq3PcaFjNUv0ZNhMkeb/JrpTtSaA=; b=J6a1PAuElLB5QeZsL0DIIIc1Xkq6sNvOKdeDxQP6/BNKFwC8JF10pQdSQE0HKcYSZD LFwht6ojHfTMKJsfpaxN8jW4QMkeXvII93lfrqvte47zWBVHEt5p6bKG5muAJPguPcB1 YzG7/LcKbmkvcPvLqYbnd+JN9OK66Dm/E8h2QVPooNO+GuD9EgCOL1vGZrfaUrjiWgGY gR+p6H0JQFaJmj3njbYL7pvorexCbH0oRv+yPMP0RLqnksyZndcqoK4RjneZkKmqT8Es OxLfinGJW0A40Ty/XT8vZPfDCwSAO4ZN3v5Et+8yTVZBEpTvb2p6Gl6CA/IYDW1CSZK4 spaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ez4WiNdu; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si394789ejx.546.2021.05.05.14.13.15; Wed, 05 May 2021 14:13:38 -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=@redhat.com header.s=mimecast20190719 header.b=Ez4WiNdu; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234158AbhEEU3w (ORCPT + 99 others); Wed, 5 May 2021 16:29:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:29156 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234151AbhEEU3u (ORCPT ); Wed, 5 May 2021 16:29:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620246533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ng51bOLhRP5pIpPnq3PcaFjNUv0ZNhMkeb/JrpTtSaA=; b=Ez4WiNduBchwWtt8byrxYHw8kmXOaDn66ah7VRbFKoBhsOJtJzJ1XX+jzHAapFqpUMWFQ8 NgUGVggvnzZ+FcoHoXzLbvJcuHklM34dPXP6veT+hv5oGkbuik/LQc1GkQBLrOL3VEZl/w knIkfQ5HRGdu5QFPu3z5QXLiWYkYfwY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-544-UP97XkagPlOt4-1AwsN5Zg-1; Wed, 05 May 2021 16:28:50 -0400 X-MC-Unique: UP97XkagPlOt4-1AwsN5Zg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9C9241A8A64; Wed, 5 May 2021 20:28:49 +0000 (UTC) Received: from krava (unknown [10.40.192.93]) by smtp.corp.redhat.com (Postfix) with SMTP id 6CCCC5D6A8; Wed, 5 May 2021 20:28:47 +0000 (UTC) Date: Wed, 5 May 2021 22:28:46 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo 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-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > - Arnaldo >