ck: UKFEF: report hung-task event
to #34868789 Add hung-task event into unified kernel fault event framework. Signed-off-by: Wetp Zhang <wetp.zy@linux.alibaba.com> Signed-off-by: Meng Shen <shenmeng@linux.alibaba.com> Acked-by: Xunlei Pang <xlpang@linux.alibaba.com>
This commit is contained in:
parent
2d4db696a0
commit
966a35b0c5
|
@ -21,6 +21,7 @@
|
|||
#include <linux/sched/signal.h>
|
||||
#include <linux/sched/debug.h>
|
||||
#include <linux/sched/sysctl.h>
|
||||
#include <linux/fault_event.h>
|
||||
|
||||
#include <trace/events/sched.h>
|
||||
|
||||
|
@ -119,6 +120,8 @@ static void check_hung_task(struct task_struct *t, unsigned long timeout)
|
|||
hung_task_call_panic = true;
|
||||
}
|
||||
|
||||
report_fault_event(-1, t, NORMAL_FAULT, FE_HUNGTASK, NULL);
|
||||
|
||||
/*
|
||||
* Ok, the task did not get scheduled for more than 2 minutes,
|
||||
* complain:
|
||||
|
|
Loading…
Reference in New Issue