Re: [PATCH 1/6] perf x86: Infrastructure for exposing an Uncore unit to PMON mapping

From: Andi Kleen
Date: Thu Dec 05 2019 - 17:28:59 EST


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