mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
tools:acrn-crashlog: request resources of SOS in crashlog
Dispatch the new event id and log directory in one place. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <xiaojing.liu@intel.com> Acked-by: Chen, Gang <gang.c.chen@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
901ce53971
commit
728a480693
@@ -9,6 +9,9 @@
|
||||
#include "event_queue.h"
|
||||
#include "log_sys.h"
|
||||
|
||||
const char *etype_str[] = {"CRASH", "INFO", "UPTIME", "HEART_BEAT",
|
||||
"REBOOT", "VM", "UNKNOWN"};
|
||||
|
||||
static pthread_mutex_t eq_mtx = PTHREAD_MUTEX_INITIALIZER;
|
||||
static pthread_cond_t pcond = PTHREAD_COND_INITIALIZER;
|
||||
TAILQ_HEAD(, event_t) event_q;
|
||||
|
||||
Reference in New Issue
Block a user