projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d3bce
)
posix-timers: print RT watchdog message
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Fri, 16 May 2008 02:42:49 +0000
(19:42 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 24 May 2008 16:49:22 +0000
(18:49 +0200)
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>
kernel/posix-cpu-timers.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/posix-cpu-timers.c
b/kernel/posix-cpu-timers.c
index f1525ad06cb3ebbb83680b2bc0176854002217ca..c42a03aef36f07fd326eba959a90aa7bbe45dbd8 100644
(file)
--- a/
kernel/posix-cpu-timers.c
+++ b/
kernel/posix-cpu-timers.c
@@
-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);
}
}