diff --git a/kernel/events/core.c b/kernel/events/core.c index a6a9ec4cd8f583d640ab0da9e4941b19fe8fd990..9789a56b7d54320e2318b0f51c289730bda81e0d 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -5350,7 +5350,7 @@ static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) if (regs && !perf_exclude_event(event, regs)) { if (!(event->attr.exclude_idle && is_idle_task(current))) - if (perf_event_overflow(event, &data, regs)) + if (__perf_event_overflow(event, 1, &data, regs)) ret = HRTIMER_NORESTART; }