[perfmon2] Using CPU model not sufficient to determine events available

2018-08-20 Thread William Cohen
Hi, I was reviewing some test results issues with Michael Petlan. Some of the testing at Red Hat is done on guest VMs. PAPI and libpfm use the CPU model number to determine which performance events are available. This works reasonably well for many of the events. However, there are a couple

Re: [perfmon2] [perfapi-devel] Using CPU model not sufficient to determine events available

2018-08-20 Thread Vince Weaver
On Mon, 20 Aug 2018, William Cohen wrote: > Any thoughts on how to better determine which events are actually > available on the machine and limit the libpfm/PAPI event lists to usable > events? does the perf tool handle this better than PAPI does? If so we could try to do whatever it does.