print RT watchdog message
PATCH 1/1 print RT watchdog message
From: Hiroshi Shimamoto <[email protected]>
It's useful to detect which process is killed by RT watchdog.
--- kernel/posix-cpu-timers.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
kernel/posix-cpu-timers.c +3 -0
@@ -1037,6 +1037,9 @@ static void check_thread_timers(struct task_struct *tsk, sig->rlim[RLIMIT_RTTIME ].rlim_cur +=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); } }
Signature · 1 line
1.5.4.1
PATCH 1/1 print RT watchdog message
From: Hiroshi Shimamoto <[email protected]>
It's useful to detect which process is killed by RT watchdog.
Signed-off-by Hiroshi Shimamoto <[email protected]>
---
Oops, I forgot to add S-O-B.
kernel/posix-cpu-timers.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
kernel/posix-cpu-timers.c +3 -0
@@ -1037,6 +1037,9 @@ static void check_thread_timers(struct task_struct *tsk, sig->rlim[RLIMIT_RTTIME ].rlim_cur +=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); } }
Ingo Molnar
AppliedQuoted 5 lines · Hiroshi Shimamoto
From: Hiroshi Shimamoto <[email protected]>
It's useful to detect which process is killed by RT watchdog.
Signed-off-by Hiroshi Shimamoto <[email protected]>
applied to -tip, thanks.
Ingo