tools:acrn-crashlog: update operations about vmrecord

Replace vmrecord file operations with new functions in vmrecord.c.

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:
Liu, Xinwu
2019-04-18 16:00:38 +08:00
committed by ACRN System Integration
parent b5236f21fd
commit 84cf7156ae
5 changed files with 53 additions and 154 deletions

View File

@@ -34,7 +34,7 @@ extern char *loop_dev;
#define ANDROID_TYPE_FMT "%[[A-Z0-9_:-]{3,16}]" IGN_SPACES
#define ANDROID_LINE_REST_FMT "%[[^\n]*]" IGN_RESTS
void refresh_vm_history(const struct sender_t *sender,
void refresh_vm_history(struct sender_t *sender,
int (*fn)(const char*, size_t, const struct vm_t *));
#endif