mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 04:09:11 +00:00
tools: acrn-crashlog: version control patch for binaries
This patch is the version control patch for the binaries of acrn-crashlog. Signed-off-by: CHEN Gang <gang.c.chen@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:
@@ -42,6 +42,7 @@
|
||||
#include "packet.h"
|
||||
#include "protocol.h"
|
||||
#include "log_sys.h"
|
||||
#include "version.h"
|
||||
|
||||
#define FILE_PATH_LEN_MAX 256
|
||||
|
||||
@@ -389,7 +390,10 @@ int main(int argc, char *argv[])
|
||||
while ((opt = getopt(argc, argv, "vh")) != -1) {
|
||||
switch (opt) {
|
||||
case 'v':
|
||||
printf("usercrash_s version is 1.0\n");
|
||||
printf("version is %d.%d-%s, build by %s@%s\n",
|
||||
UC_MAJOR_VERSION, UC_MINOR_VERSION,
|
||||
UC_BUILD_VERSION, UC_BUILD_USER,
|
||||
UC_BUILD_TIME);
|
||||
break;
|
||||
case 'h':
|
||||
print_usage();
|
||||
|
Reference in New Issue
Block a user