mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
tools: acrntrace: Add option -t for max capture time
If option -t is configured, a timer will be set with configured timeout when launching acrntrace. When timer fired, acrntrace will exit. Signed-off-by: Kaige Fu <kaige.fu@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
OUT_DIR ?= .
|
||||
|
||||
all:
|
||||
$(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread
|
||||
$(CC) -o $(OUT_DIR)/acrntrace acrntrace.c sbuf.c -I. -lpthread -lrt
|
||||
|
||||
clean:
|
||||
rm -f $(OUT_DIR)/acrntrace
|
||||
|
||||
Reference in New Issue
Block a user