Re: [PATCH] perf/core: move all of the pmu devices into their own location

From: Vince Weaver
Date: Tue Feb 04 2025 - 11:41:50 EST


On Tue, 4 Feb 2025, Greg Kroah-Hartman wrote:

>
> It seems that the majority of the perf code IS looking in the correct
> place, just mem-events.c seemed wrong.

I hate to tell you, but other places in userspace are depending on the
current setup. libpfm4, used by PAPI, is looking directly in /sys/devices
for pmus and will break with the changes you are planning.

Vince Weaver
vincent.weaver@xxxxxxxxx