acrn-hypervisor/tools/acrn-crashlog/common
Liu, Xinwu d5b578fd84 tools: acrn-crashlog: Limit the log size of kmsg
Dmesg collects too much log when kernel meets log storm.
This patch reads kernel log from "/dev/kmsg" intead of dmesg and limits
the generated log size.

Tracked-On: #1024
Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhi Jin <zhi.jin@intel.com>
Acked-by: Chen, Gang <gang.c.chen@intel.com>
2019-01-10 12:22:28 +08:00
..
include tools: acrn-crashlog: Limit the log size of kmsg 2019-01-10 12:22:28 +08:00
Makefile tools: acrn-crashlog: file system utils for acrn-crashlog 2018-05-23 17:10:51 +08:00
cmdutils.c tools: acrn-crashlog: remove unsafe strlen in common 2018-10-19 22:49:04 +08:00
fsutils.c tools: acrn-crashlog: Limit the log size of kmsg 2019-01-10 12:22:28 +08:00
log_sys.c tools: acrn-crashlog: remove unsafe strlen in common 2018-10-19 22:49:04 +08:00
strutils.c tools: acrn-crashlog: remove unsafe strlen in common 2018-10-19 22:49:04 +08:00