Lines Matching +full:local +full:- +full:timer +full:- +full:stop
1 // SPDX-License-Identifier: GPL-2.0
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
56 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold()
58 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold()
61 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold()
80 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp()
83 * If ktime is jiffies based, a stalled timer would prevent in watchdog_check_timestamp()
115 event->hw.interrupts = 0; in watchdog_overflow_callback()
126 * This is done by making sure our timer interrupt in watchdog_overflow_callback()
127 * is incrementing. The timer interrupt should have in watchdog_overflow_callback()
148 * Perform all-CPU dump only once to avoid multiple hardlockups in watchdog_overflow_callback()
173 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
188 * hardlockup_detector_perf_enable - Enable the local event
197 pr_info("Enabled. Permanently consumes one hw-PMU counter.\n"); in hardlockup_detector_perf_enable()
203 * hardlockup_detector_perf_disable - Disable the local event
219 * hardlockup_detector_perf_cleanup - Cleanup disabled events and destroy them
242 * hardlockup_detector_perf_stop - Globally stop watchdog events
261 * hardlockup_detector_perf_restart - Globally restart watchdog events
283 * hardlockup_detector_perf_init - Probe whether NMI event is available at all