Re: [PATCH v2 -tip] perf: x86, add SandyBridge support

From: Lin Ming
Date: Mon Feb 28 2011 - 19:32:18 EST


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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/