perf/core: Don't pass PERF_EF_START to the PMU ->start callback
[cascardo/linux.git] / kernel / events / core.c
index dff00c7..74f22a9 100644 (file)
@@ -2492,7 +2492,7 @@ static int __perf_event_stop(void *info)
         * while restarting.
         */
        if (sd->restart)
-               event->pmu->start(event, PERF_EF_START);
+               event->pmu->start(event, 0);
 
        return 0;
 }