mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
tools: acrn-crashlog: stop only collecting logs when exceeding configured size
Crashlog would drop all events after the storaged log size exceeds the configured parameter "foldersize" previously, that basically means all activities are stopped. This patch brings other activities back (e.g. the records in the file "history_event" will be updated continually), and restricts the "foldersize" by stopping log collection. 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>
This commit is contained in:
@@ -132,7 +132,6 @@ struct sender_t {
|
||||
void (*send)(struct event_t *);
|
||||
char *log_vmrecordid;
|
||||
int sw_updated; /* each sender has their own record */
|
||||
int suspending; /* drop all events while suspending */
|
||||
};
|
||||
|
||||
struct conf_t {
|
||||
|
Reference in New Issue
Block a user