lkml.org 
[lkml]   [2013]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perf/core] perf/x86/intel: Clean-up/reduce PEBS code
> 
> /*
> * Should not happen, we program the threshold at 1 and do not
> * set a reset value.
> */
> - WARN_ONCE(n > x86_pmu.max_pebs_events,
> - "Unexpected number of pebs records %d\n", n);
> + WARN_ONCE(top - at > x86_pmu.max_pebs_events * x86_pmu.pebs_record_size,

That should work yes.

-Andi


\
 
 \ /
  Last update: 2013-09-16 18:41    [W:0.041 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site