Re: [PATCH v2] powerpc/perf/hv-24x7: Dont create sysfs event files for dummy events

2020-12-21 Thread kajoljain
On 12/21/20 11:10 AM, Michael Ellerman wrote: > Kajol Jain writes: >> hv_24x7 performance monitoring unit creates list of supported events >> from the event catalog obtained via HCALL. hv_24x7 catalog could also >> contain invalid or dummy events (with names like FREE_* or CPM_FREE_* >> and

Re: [PATCH v2] powerpc/perf/hv-24x7: Dont create sysfs event files for dummy events

2020-12-20 Thread Michael Ellerman
Kajol Jain writes: > hv_24x7 performance monitoring unit creates list of supported events > from the event catalog obtained via HCALL. hv_24x7 catalog could also > contain invalid or dummy events (with names like FREE_* or CPM_FREE_* > and RESERVED*). These events do not have any hardware

Re: [PATCH v2] powerpc/perf/hv-24x7: Dont create sysfs event files for dummy events

2020-12-19 Thread Madhavan Srinivasan
On 12/18/20 3:31 PM, Kajol Jain wrote: hv_24x7 performance monitoring unit creates list of supported events from the event catalog obtained via HCALL. hv_24x7 catalog could also contain invalid or dummy events (with names like FREE_* or CPM_FREE_* and RESERVED*). These events do not have any

[PATCH v2] powerpc/perf/hv-24x7: Dont create sysfs event files for dummy events

2020-12-18 Thread Kajol Jain
hv_24x7 performance monitoring unit creates list of supported events from the event catalog obtained via HCALL. hv_24x7 catalog could also contain invalid or dummy events (with names like FREE_* or CPM_FREE_* and RESERVED*). These events do not have any hardware counters backing them. So patch