Messages in this thread | | | Date | Thu, 1 Jun 2023 13:18:56 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v4 3/4] perf/core: Remove pmu linear searching code |
| |
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.
| |