mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-31 16:37:07 +00:00
tools: acrn-crashlog: command utils for acrn-crashlog
This file provides functions to call system commands. 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:
9
tools/acrn-crashlog/common/include/cmdutils.h
Normal file
9
tools/acrn-crashlog/common/include/cmdutils.h
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
int execv_out2file(char *argv[], char *outfile);
|
||||
int debugfs_cmd(char *loop_dev, char *cmd, char *outfile);
|
||||
int exec_out2file(char *outfile, char *fmt, ...);
|
||||
char *exec_out2mem(char *fmt, ...);
|
Reference in New Issue
Block a user