Commit Graph

1 Commits

Author SHA1 Message Date
Meng Shen d2ffdd5d83 ck: UKFEF: unified kernel fault event framework
to #34868789

There are various kernel errors/warnnings, if users want to know
the effect with a error or warning, they should see the detail of
kernel. It is difficult for users to handle so much things.

This patch classify kernel fault events, divide events into its own
module such as sched, mem, io, net, etc. At the same time,
to report the effect class of the current fault event.
There are three effect classes:
Slight - just a jitter, every thing could works.
Normal - the current task may have exception.
Fatal  - system may be unstable.

Accordding to these information, users can easily choose a suitable
action to ensure the reliability.

This feature also can be used for checking the side effect of a
system-change.

This feature can be enabled/disabled via
/proc/sys/kernel/fault_event_enable.

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>
2022-08-01 11:30:51 +00:00