Messages in this thread | | | Subject | Re: [PATCH v2 -tip] perf: x86, add SandyBridge support | From | Lin Ming <> | Date | Tue, 01 Mar 2011 08:32:23 +0800 |
| |
On Mon, 2011-02-28 at 23:11 +0800, Peter Zijlstra wrote: > On Mon, 2011-02-28 at 22:56 +0800, Lin Ming wrote: > > @@ -740,13 +740,6 @@ static void intel_ds_init(void) > > printk(KERN_CONT "PEBS fmt1%c, ", pebs_type); > > x86_pmu.pebs_record_size = sizeof(struct pebs_record_nhm); > > x86_pmu.drain_pebs = intel_pmu_drain_pebs_nhm; > > - switch (boot_cpu_data.x86_model) { > > - case 42: /* SandyBridge */ > > - x86_pmu.pebs_constraints = intel_snb_pebs_events; > > - break; > > - default: > > - x86_pmu.pebs_constraints = intel_nehalem_pebs_events; > > - } > > break; > > it looks like you lost the nhm table assignment
Ah, yes. Will update all in v3 patch.
| |