Messages in this thread | | | Date | Mon, 16 Sep 2013 18:09:21 +0200 | From | Andi Kleen <> | Subject | Re: [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
| |