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:
@@ -400,6 +400,7 @@ static void get_last_line_synced(const struct sender_t *sender)
|
||||
int sid;
|
||||
int ret;
|
||||
struct vm_t *vm;
|
||||
char *p;
|
||||
char vmkey[ANDROID_WORD_LEN];
|
||||
char vm_name[32];
|
||||
|
||||
@@ -438,6 +439,9 @@ static void get_last_line_synced(const struct sender_t *sender)
|
||||
strerror(errno));
|
||||
continue;
|
||||
}
|
||||
p = strchr(vmkey, ' ');
|
||||
if (p)
|
||||
*p = 0;
|
||||
|
||||
ret = refresh_key_synced_stage1(sender, vm, vmkey, MM_ONLY);
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user