Skip to content

Commit 8c91847

Browse files
lyan3jren1
authored andcommitted
DM:tools: add acrnlog tool
acrnlog is an SOS userland tool to capture ACRN hypervisor log to /tmp/acrnog/. Two kinds of logs would be saved: - log of current running; - log of last running if crashed and logs remaining. [Usage] acrnlog [-s] [size] [-n] [number] [Options] -h: print this message -s: size limitation for each log file, in MB. 0 means no limitation. -n: how many files you would like to keep on disk Signed-off-by: Yan, Like <like.yan@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent c01a236 commit 8c91847

File tree

2 files changed

+530
-0
lines changed

2 files changed

+530
-0
lines changed

devicemodel/tools/acrnlog/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
all:
2+
gcc -g acrnlog.c -o acrnlog -lpthread
3+
4+
clean:
5+
rm acrnlog

0 commit comments

Comments
 (0)