Re: [PATCH] powerpc/perf: Add functionality to check PERF_EVENTS config option

2019-10-03 Thread maddy
On 10/1/19 2:51 PM, Kajol Jain wrote: Perf is the primary interface to program performance monitoring unit (pmu) and collect counter data in system. But currently pmu register files are created in the /sys/devices/system/cpu/cpu* without checking CONFIG_PERF_EVENTS option. These includes PMC* a

[PATCH] powerpc/perf: Add functionality to check PERF_EVENTS config option

2019-10-01 Thread Kajol Jain
Perf is the primary interface to program performance monitoring unit (pmu) and collect counter data in system. But currently pmu register files are created in the /sys/devices/system/cpu/cpu* without checking CONFIG_PERF_EVENTS option. These includes PMC* and MMCR* sprs. Patch ties sysfs pmu spr fi