Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp26293ybl; Thu, 5 Dec 2019 14:30:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzINWSi8ku3/OPLI7iuDgxxb2CXfuw72im1JnovarY6Rr2RngjD5J87ZMu8LcomSQSL5Wgb X-Received: by 2002:aca:61c4:: with SMTP id v187mr9830198oib.8.1575585046547; Thu, 05 Dec 2019 14:30:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575585046; cv=none; d=google.com; s=arc-20160816; b=mh2kUKjWYXncHjsQXnvEp8Kyp0SNUgl6c/NnC3KrMeEzzGY28nNt4icWoLbI7UashD SAbapwyn7xGo/F5kqFNqAgI+MCONxd76iMgKwdXl1V+ZGIpt1r4+zgWWwJxU7+O/azug fdkKdvuGegL1vTmTIQABtKvWR3JLt7gTdMzLZighrvrX8OTDk4VmTAbD1UPpVRyzuDC3 LcnTjHAyHlTraBYDWyv2WR9Gk7ZfF766G9Cf7iVZyqYrj9Q17fNygUUxVvoH5L+n13Ca E9MZxUaoWQICwL3ira+UJKILxvnWqpoVdJyLNw9+N/rFvHHfeqFu0zzMnFlz4NJp5x5q FatA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MKKmMdCi923ispEgqwecM/6eISsT+dl7pWGs5St7kYk=; b=p2zK6ifmlQoOre8vGVEEVJmymzPwL7f17OwEqYPm0jv1o8hKgPBb/SJejtjHiyrjO7 YK96I6cqEi1PL5PYbjVdgVkQLk/YmN+rehfy/7WKi5zw9NGMy1yRLXMAJ6DuwzlFeP93 7XG+vGzM0zUCxLXxzznh/1VVMvmFypSrWo1CxplE8P0pAx6TTsSdewBWtNYTVsXGXkw6 LCeYpHhJUGN2SnItTxKiJIrFRU2/wjiCq/m6TD1VsaIh3kxyITthyzCXk7AUqZwZdXn3 Bo6VyJzG1oSF4Ksls5J9I8Jw2Xzbqe1AJ0z9tFFrgvC0/+BAP9Xp+tsHDezcztECJioK +pgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e73si6003102oib.145.2019.12.05.14.30.33; Thu, 05 Dec 2019 14:30:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727557AbfLEW25 (ORCPT + 99 others); Thu, 5 Dec 2019 17:28:57 -0500 Received: from mga03.intel.com ([134.134.136.65]:41164 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbfLEW25 (ORCPT ); Thu, 5 Dec 2019 17:28:57 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2019 14:28:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,282,1571727600"; d="scan'208";a="386329945" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga005.jf.intel.com with ESMTP; 05 Dec 2019 14:28:56 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id BE1D6300B57; Thu, 5 Dec 2019 14:28:56 -0800 (PST) Date: Thu, 5 Dec 2019 14:28:56 -0800 From: Andi Kleen To: Stephane Eranian Cc: "Sudarikov, Roman" , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , LKML , Brendan Gregg , "Liang, Kan" , alexander.antonov@intel.com Subject: Re: [PATCH 1/6] perf x86: Infrastructure for exposing an Uncore unit to PMON mapping Message-ID: <20191205222856.GI723068@tassilo.jf.intel.com> References: <20191126163630.17300-1-roman.sudarikov@linux.intel.com> <20191126163630.17300-2-roman.sudarikov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 05, 2019 at 10:02:55AM -0800, Stephane Eranian wrote: > does not cover that (in a single cmdline). > It would also benefit from > having the actual Linux device names, e.g., sda, ssda, eth0, ...., Some example code to do that mapping in the other direction is here https://github.com/numactl/numactl/blob/master/affinity.c -Andi