mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
tools: acrn-crashlog: android events module for acrnprobe
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>
This commit is contained in:
15
tools/acrn-crashlog/acrnprobe/include/android_events.h
Normal file
15
tools/acrn-crashlog/acrnprobe/include/android_events.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user