Re: [perfmon2] [ptools-perfapi] Avoid hardcoding the number of entries in the libpfm library with PFM_PMU_MAX

2017-05-31 Thread Vince Weaver
On Tue, 30 May 2017, William Cohen wrote: > As a workaround I have been developing a patch that avoids using the > PFM_PMU_MAX and examines the pfm_pmu_get_info return code to determine > if there are might be additional pmu descriptions to scan. Attached is > the patch. I have tried it out.

Re: [perfmon2] [ptools-perfapi] Avoid hardcoding the number of entries in the libpfm library with PFM_PMU_MAX

2017-05-31 Thread William Cohen
On 05/31/2017 04:53 PM, Vince Weaver wrote: > On Tue, 30 May 2017, William Cohen wrote: > >> As a workaround I have been developing a patch that avoids using the >> PFM_PMU_MAX and examines the pfm_pmu_get_info return code to determine >> if there are might be additional pmu descriptions to scan