mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 20:59:03 +00:00
tools: acrn-crashlog: refine the log storage
1. remove watching TOMBSTONE in AaaG. 2. add a configurable parameter "foldersize" in MB, sender will drop all events when the storaged log size exceeds this parameter. Tracked-On:#1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Chen Gang <gang.c.chen@intel.com> Acked-by: Zhang Di <di.zhang@intel.com>
This commit is contained in:
@@ -123,11 +123,14 @@ struct sender_t {
|
||||
size_t maxlines_len;
|
||||
const char *spacequota;
|
||||
size_t spacequota_len;
|
||||
const char *foldersize;
|
||||
size_t foldersize_len;
|
||||
struct uptime_t *uptime;
|
||||
|
||||
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