Re: [RESEND PATCH v2] powerpc/kernel/sysfs: Add PMU_SYSFS config option to enable PMU SPRs sysfs file creation

2019-12-09 Thread Michael Ellerman
Kajol Jain writes: > Many of the performance moniroting unit (PMU) SPRs are > exposed in the sysfs. "perf" API is the primary interface to program > PMU and collect counter data in the system. So expose these > PMU SPRs in the absence of CONFIG_PERF_EVENTS. > > Patch adds a new CONFIG option

Re: [RESEND PATCH v2] powerpc/kernel/sysfs: Add PMU_SYSFS config option to enable PMU SPRs sysfs file creation

2019-12-09 Thread kajoljain
Hi Christophe,     Thankyou for reviewing the patch. On 12/5/19 11:28 AM, Christophe Leroy wrote: Le 05/12/2019 à 06:25, Kajol Jain a écrit : Many of the performance moniroting unit (PMU) SPRs are exposed in the sysfs. "perf" API is the primary interface to program PMU and collect

Re: [RESEND PATCH v2] powerpc/kernel/sysfs: Add PMU_SYSFS config option to enable PMU SPRs sysfs file creation

2019-12-04 Thread Christophe Leroy
Le 05/12/2019 à 06:25, Kajol Jain a écrit : Many of the performance moniroting unit (PMU) SPRs are exposed in the sysfs. "perf" API is the primary interface to program PMU and collect counter data in the system. So expose these PMU SPRs in the absence of CONFIG_PERF_EVENTS. Patch adds a new

[RESEND PATCH v2] powerpc/kernel/sysfs: Add PMU_SYSFS config option to enable PMU SPRs sysfs file creation

2019-12-04 Thread Kajol Jain
Many of the performance moniroting unit (PMU) SPRs are exposed in the sysfs. "perf" API is the primary interface to program PMU and collect counter data in the system. So expose these PMU SPRs in the absence of CONFIG_PERF_EVENTS. Patch adds a new CONFIG option 'CONFIG_PMU_SYSFS'. The new config