On Mon, 4 Jan 2016, Philip Mucci wrote:
> Right. The default however is currently to exclude_guest = 1, which is
> the problem. PAPI did not seem to rectify that setting…
I am probably misremembering the fix. This problem was causing issues on
Xeon Phi/MIC and so the fix might have been localized in there somehow.
> One problem I had digging around was that libpfm always includes it’s
> version of the struct… When I looked at what the actual kernel wanted
> (it’s own linux/perf_event.h) those fields aren’t even present. The
> issue here is that since libpfm sees a VMX flag in the CPUINFO it always
> sets this bit.
We use an always up-to-date version of perf_event.h rather than the system
version because it makes life a lot simpler in a lot of ways. It does
mean we can run into issues like this when running old kernels.
Sadly the only real solution as far as I can tell is having a big lookup
table mapping kernel versions to features and enforcing the settings in
PAPI.
Vince
------------------------------------------------------------------------------
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel