Lines Matching +full:threshold +full:- +full:detector
1 // SPDX-License-Identifier: GPL-2.0
8 * detector, so thanks to Ingo for the initial implementation.
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
40 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold()
42 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold()
45 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold()
49 * The sample threshold is used to check in the NMI handler whether in watchdog_update_hrtimer_threshold()
53 * Set this to 4/5 of the actual watchdog threshold period so the in watchdog_update_hrtimer_threshold()
55 * watchdog threshold. in watchdog_update_hrtimer_threshold()
64 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp()
103 event->hw.interrupts = 0; in watchdog_overflow_callback()
119 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create()
124 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
139 * watchdog_hardlockup_enable - Enable the local event
152 pr_info("Enabled. Permanently consumes one hw-PMU counter.\n"); in watchdog_hardlockup_enable()
159 * watchdog_hardlockup_disable - Disable the local event
179 * hardlockup_detector_perf_cleanup - Cleanup disabled events and destroy them
202 * hardlockup_detector_perf_stop - Globally stop watchdog events
221 * hardlockup_detector_perf_restart - Globally restart watchdog events
248 * watchdog_hardlockup_probe - Probe whether NMI event is available at all
255 return -ENODEV; in watchdog_hardlockup_probe()