18 #include <linux/module.h>
21 #ifdef CONFIG_HARDLOCKUP_DETECTOR
24 return (
u64)(
cpu_khz) * 1000 * watchdog_thresh;
28 #ifdef arch_trigger_all_cpu_backtrace
33 static
unsigned long backtrace_flag;
46 cpumask_copy(
to_cpumask(backtrace_mask), cpu_online_mask);
52 for (i = 0; i < 10 * 1000; i++) {
63 arch_trigger_all_cpu_backtrace_handler(
unsigned int cmd,
struct pt_regs *
regs)
76 cpumask_clear_cpu(cpu,
to_cpumask(backtrace_mask));
83 static int __init register_trigger_all_cpu_backtrace(
void)