mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
posix-timers: print RT watchdog message
It's useful to detect which process is killed by RT watchdog. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
75d3bce2fc
commit
81d50bb254
@ -1037,6 +1037,9 @@ static void check_thread_timers(struct task_struct *tsk,
|
|||||||
sig->rlim[RLIMIT_RTTIME].rlim_cur +=
|
sig->rlim[RLIMIT_RTTIME].rlim_cur +=
|
||||||
USEC_PER_SEC;
|
USEC_PER_SEC;
|
||||||
}
|
}
|
||||||
|
printk(KERN_INFO
|
||||||
|
"RT Watchdog Timeout: %s[%d]\n",
|
||||||
|
tsk->comm, task_pid_nr(tsk));
|
||||||
__group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk);
|
__group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user