mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
tools:acrn-crashlog: Improve the process of crash reclassify
1. Reload the trigger file(s) of subcrash while doing crash reclassify. 2. Support simple format for trigger file. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
@@ -118,7 +118,7 @@ void hist_raise_event(char *event, char *type, char *log, char *lastuptime,
|
||||
char *key)
|
||||
{
|
||||
char line[MAXLINESIZE];
|
||||
char eventtime[32];
|
||||
char eventtime[LONG_TIME_SIZE];
|
||||
struct sender_t *crashlog;
|
||||
int maxlines;
|
||||
int ret;
|
||||
@@ -158,7 +158,7 @@ void hist_raise_event(char *event, char *type, char *log, char *lastuptime,
|
||||
|
||||
void hist_raise_uptime(char *lastuptime)
|
||||
{
|
||||
char boot_time[24];
|
||||
char boot_time[UPTIME_SIZE];
|
||||
char firstline[MAXLINESIZE];
|
||||
int hours;
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user