Re: [PATCH 1/2] perf/x86/intel: enable CPU ref_cycles for GP counter
From: Andi Kleen
Date: Wed May 24 2017 - 11:45:23 EST
> Right, I did not even consider the rdpmc, but yeah, you will get a count that
> is not relevant to the user visible event. Unless you fake it using the time
> scaling fields there but that's ugly.
Could add another scaling field to the mmap page for this.
-Andi