Messages in this thread | | | Date | Wed, 6 Jun 2012 18:08:48 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 1/5] perf, x86: Don't assume the alternative cycles encoding is architectural |
| |
On Wed, Jun 06, 2012 at 04:53:05PM +0200, Peter Zijlstra wrote: > > > So your patch would fix the problem iff you only fill in the pebs_aliases > > in the model number switch for known Core model numbers. > > + if (event->attr.precise_ip && x86_pmu.pebs_aliases) > + x86_pmu.pebs_aliases(event); > > Never happens, and we're happy again.
How about newer unknown Intel CPUs with arch_perfmon >= 3? Those would get intel_pmu, correct? There's no guarantee that they support the trick.
-Andi
-- ak@linux.intel.com -- Speaking for myself only.
| |