mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
tools: acrn-crashlog: refine the configuration structure
1. get string size when parsing configuration. 2. add 'const' for strings got from configuration. Tracked-On: #1254 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
@@ -43,9 +43,9 @@ int get_current_time_long(char buf[32]);
|
||||
unsigned long long get_uptime(void);
|
||||
char *generate_event_id(const char *seed1, const char *seed2,
|
||||
enum key_type type);
|
||||
void generate_crashfile(char *dir, char *event, char *hashkey,
|
||||
char *type, char *data0,
|
||||
char *data1, char *data2);
|
||||
void generate_crashfile(const char *dir, const char *event, const char *hashkey,
|
||||
const char *type, const char *data0,
|
||||
const char *data1, const char *data2);
|
||||
char *generate_log_dir(enum e_dir_mode mode, char *hashkey);
|
||||
int is_boot_id_changed(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user