}
static int intel_pmu_save_and_restart(struct perf_event *event);
-static void intel_pmu_disable_event(struct perf_event *event);
static void intel_pmu_drain_pebs_core(struct pt_regs *iregs)
{
regs.flags &= ~PERF_EFLAGS_EXACT;
if (perf_event_overflow(event, 1, &data, ®s))
- intel_pmu_disable_event(event);
+ x86_pmu_stop(event);
out:
intel_pmu_pebs_enable_all();
regs.flags &= ~PERF_EFLAGS_EXACT;
if (perf_event_overflow(event, 1, &data, ®s))
- intel_pmu_disable_event(event);
+ x86_pmu_stop(event);
}
out:
intel_pmu_pebs_enable_all();