mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +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:
@@ -65,8 +65,8 @@ struct crash_t {
|
||||
|
||||
int wd;
|
||||
int level;
|
||||
struct crash_t *(*reclassify)(struct crash_t *, char*, char**, char**,
|
||||
char**);
|
||||
struct crash_t *(*reclassify)(const struct crash_t *, const char*,
|
||||
char**, char**, char**);
|
||||
};
|
||||
|
||||
struct info_t {
|
||||
|
@@ -22,6 +22,9 @@
|
||||
#ifndef __PROBEUTILS_H__
|
||||
#define __PROBEUTILS_H__
|
||||
|
||||
#define UPTIME_SIZE 24
|
||||
#define LONG_TIME_SIZE 32
|
||||
|
||||
enum e_dir_mode {
|
||||
MODE_CRASH = 0,
|
||||
MODE_STATS,
|
||||
|
Reference in New Issue
Block a user