Messages in this thread | | | Date | Thu, 1 Jun 2023 13:20:27 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v4 3/4] perf/core: Remove pmu linear searching code |
| |
On Thu, Jun 01, 2023 at 01:18:56PM +0200, Peter Zijlstra wrote: > On Thu, Jun 01, 2023 at 01:02:30PM +0200, Thomas Richter wrote: > > > PS: I have the feeling, it gets complicated to have multiple hardware PMUs > > per platform. > > Recently someone was poking around giving the pmu device a parent, this > would, I think, result in sysfs links, which could be used to decide > what's what. > > Core pmus would have the CPU device as their parent, while memory > controller thingies would link to the relevant node or something. > > Ofc. all that's future-work/pending.
https://lkml.kernel.org/r/20230404134225.13408-1-Jonathan.Cameron%40huawei.com
https://lkml.kernel.org/r/20230531110011.13963-2-Jonathan.Cameron%40huawei.com
| |