Lines Matching refs:event
110 static void watchdog_overflow_callback(struct perf_event *event, in watchdog_overflow_callback() argument
115 event->hw.interrupts = 0; in watchdog_overflow_callback()
207 struct perf_event *event = this_cpu_read(watchdog_ev); in hardlockup_detector_perf_disable() local
209 if (event) { in hardlockup_detector_perf_disable()
210 perf_event_disable(event); in hardlockup_detector_perf_disable()
212 this_cpu_write(dead_event, event); in hardlockup_detector_perf_disable()
228 struct perf_event *event = per_cpu(dead_event, cpu); in hardlockup_detector_perf_cleanup() local
234 if (event) in hardlockup_detector_perf_cleanup()
235 perf_event_release_kernel(event); in hardlockup_detector_perf_cleanup()
253 struct perf_event *event = per_cpu(watchdog_ev, cpu); in hardlockup_detector_perf_stop() local
255 if (event) in hardlockup_detector_perf_stop()
256 perf_event_disable(event); in hardlockup_detector_perf_stop()
275 struct perf_event *event = per_cpu(watchdog_ev, cpu); in hardlockup_detector_perf_restart() local
277 if (event) in hardlockup_detector_perf_restart()
278 perf_event_enable(event); in hardlockup_detector_perf_restart()