Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3905841pxy; Tue, 4 May 2021 12:39:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxX2Wttm42obEmh3d4LB1E1whHxG5dq8dToEIOvWIwZo0xmRZXcCVf7QjecdsSUaXIHV9kM X-Received: by 2002:aa7:d408:: with SMTP id z8mr13483591edq.286.1620157176831; Tue, 04 May 2021 12:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620157176; cv=none; d=google.com; s=arc-20160816; b=sGXDHSRAbGtklo3SwyTunEwzPZCvdwzRawCCb3fLDSvLroB+e7KbZfIIbaT6DleTKW VFZdHJtywMrpJwPij30DRkuziGDfn7UAqHNjQeEJ4DVVS014eFb8aP/ugvRDYYmZV7up 1QA6xEqfEGRgtd46KdlbeAGT8+EoAhYTOvlD+fntgT3pjXKo4ZVcCfFqweoxEtjQOUHQ L13p/1o/DHEDIWXedYGz35uqavcfEg8zdbaobGGpaQT9/pKkDm1K9to1jZwqkrKhS4dL SKpH3OJ1N1qdkcHwpgJEet8Th9vmCoJKe/N/kBuiYtsZSM6yfJGi6u8HLLgKzkciUzzY t37Q== 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=5iVVgUy0SDXv9IYkz7ttlGefErcwuOblVtEJb+SJtaU=; b=H7oJaKlWR5POpQAK1egBYNeVu+kb+PsohPfHayhUIujSjK5WpRBYXgkznXbElO/TNg 9MfnedGihSgk/TdZhsfZrv+jYuzd8lEe8ELOhWGaJAFZWppdj2/nDFGxWenL+oUnn4b3 E4oz6p9NDilPcU3Xoa9uZwytiU6SayhRlyE9146o6XPm5drvK943aHrEF47kWvJ/bZ9b wzxF8rdybzhbSNtnRg8wDlL71ztF3UMucqo1FmNqIKdglFeCOmGmkOTQevquGPvAcYJS jXQyB8Y0cVi9A90+AHi7IvyEHfk2gyM376dxGtD2Pma7WmLlETouVfGvpZdYvvU2slVD cnbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iwwzeaZH; 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 q11si3264201ejy.489.2021.05.04.12.39.13; Tue, 04 May 2021 12:39:36 -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=iwwzeaZH; 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 S232431AbhEDTij (ORCPT + 99 others); Tue, 4 May 2021 15:38:39 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56994 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232153AbhEDTii (ORCPT ); Tue, 4 May 2021 15:38:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620157063; 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=5iVVgUy0SDXv9IYkz7ttlGefErcwuOblVtEJb+SJtaU=; b=iwwzeaZHGj+ILOKvrK8qUNMTJO924tzIE4Be6lSI7ZtnkKe76vVFLhBbIzS5yBdfp+8T0v 8ePKJAKU6acBKQrIQJwCfdO1I1gtK6NMzERZc4JjHdNyXoHfQh9z7gzUdnvlr5SEw/sPxk cZCEHZ+TRok1E3395ahq8zlOSOo5uJo= 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-299-nwk_SFf_OLOEv7wl5inw4Q-1; Tue, 04 May 2021 15:37:39 -0400 X-MC-Unique: nwk_SFf_OLOEv7wl5inw4Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EEF5E107ACCA; Tue, 4 May 2021 19:37:37 +0000 (UTC) Received: from krava (unknown [10.40.192.45]) by smtp.corp.redhat.com (Postfix) with SMTP id 7D1BF5D9DD; Tue, 4 May 2021 19:37:35 +0000 (UTC) Date: Tue, 4 May 2021 21:37:34 +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.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 jirka > > IMHO. > > - Arnaldo >