acrn-hypervisor/tools/acrn-crashlog/common/include/cmdutils.h
Liu Xinwu 88ba420af1 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>
2018-05-23 17:10:51 +08:00

10 lines
283 B
C

/*
* 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, ...);