mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
acrntrace: Add opt to specify the cpus where we should capture the data
This patch adds one new option '-a' to specify the cpus where we should capture the trace data. If the this option is not set or set with wrong optarg, we will capture the trace data of all possible cpus. The set of the cpus can be specified as A,B,C, or A-C, or A,D-F, and so on. Tracked-On: #4175 Acked-by: Yan, Like <like.yan@intel.com> Signed-off-by: Kaige Fu <kaige.fu@intel.com>
This commit is contained in:
@@ -24,6 +24,7 @@ Options:
|
||||
-i period specify polling interval in milliseconds [1-999]
|
||||
-t max_time max time to capture trace data (in second)
|
||||
-c clear the buffered old data
|
||||
-a cpu-set only capture the trace data on these configured cpu-set
|
||||
|
||||
acrntrace_format.py
|
||||
===================
|
||||
|
||||
Reference in New Issue
Block a user