tools: acrn-crashlog: replace debugfs with api

Replace debugfs with api in loop.c.
There is no functional change.

Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
Liu, Xinwu
2018-07-18 12:47:19 +08:00
committed by lijinxia
parent ea8cb410c5
commit a4aed4535a
9 changed files with 69 additions and 130 deletions

View File

@@ -9,6 +9,7 @@
#include <stdio.h>
#include <sys/queue.h>
#include <openssl/sha.h>
#include <ext2fs/ext2fs.h>
#include "event_queue.h"
#define CONTENT_MAX 10
@@ -34,8 +35,9 @@ struct vm_t {
char *interval;
char *syncevent[VM_EVENT_TYPE_MAX];
int online;
ext2_filsys datafs;
unsigned long history_size[SENDER_MAX];
char *history_data;
char last_synced_line_key[SENDER_MAX][SHA_DIGEST_LENGTH + 1];
};