x86/perf: Improve sysfs enumeration for cpu pmu

Andi Kleen
2017-08-22T18:52:08Z

Some improvements for the sysfs enumeration for the cpu pmu to make
it easier for user programs to discover what is supported.

-Andi