lkml.org 
[lkml]   [2011]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 -tip] perf: x86, add SandyBridge support
From
Date
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.




\
 
 \ /
  Last update: 2011-03-01 01:35    [W:0.079 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site