mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 05:30:24 +00:00
Sync events detected by android crashlog. In android system, android crashlog is a log collection mechanism, it will generate a history_event file to record android system events. Acrnprobe will detect these events by scanning android history_event file. This module mainly contains two functions: 1. setup loop device for android.img. 2. detect new event occursing in android. Signed-off-by: Liu Xinwu <xinwu.liu@intel.com> Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com> Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
16 lines
290 B
C
16 lines
290 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef __ANDROID_EVENTS_H__
|
|
#define __ANDROID_EVENTS_H__
|
|
#include "load_conf.h"
|
|
|
|
extern char *loop_dev;
|
|
|
|
void refresh_vm_history(struct sender_t *sender,
|
|
void (*fn)(char*, struct vm_t *));
|
|
|
|
#endif
|