mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-01 11:55:25 +00:00
tools: acrntrace: Remove unused paramters "-r" related things
Option "-r" has been removed by commit 3d6ff0e
(tools: acrntrace: save trace
data file under current dir by default). But leaves something unused in optstring
and README.rst.
This patch remove thest related things.
BTW, this patch refine the usage output to print [-t max_time].
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Like Yan <like.yan@intel.com>
This commit is contained in:
parent
76e43ac7ce
commit
a9a2f91353
@ -21,8 +21,6 @@ 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
|
||||
-r free_space amount of free space (in MB) remaining on the disk
|
||||
before acrntrace stops
|
||||
|
||||
The ``acrntrace_format.py`` is a offline tool for parsing trace data (as output
|
||||
by acrntrace) to human-readable formats based on given format.
|
||||
@ -92,12 +90,8 @@ data to your linux system, and running the analysis tool.
|
||||
|
||||
# acrntrace
|
||||
|
||||
512MB storage space will be reserved by default. This ensures that acrntrace
|
||||
will exit automatically when the free storage space on the disk is less than
|
||||
reserved space. Reserved space on the disk is configurable through '-r'.
|
||||
|
||||
Trace files are created under ``./acrntrace/``, with a
|
||||
date-time-based directory name such as ``20171115-101605``
|
||||
Trace files are created under current directory where we launch acrntrace,
|
||||
with a date-time-based directory name such as ``./acrntrace/20171115-101605``
|
||||
|
||||
#. When done, stop a running ``acrntrace``, with:
|
||||
|
||||
|
@ -29,7 +29,7 @@ static int exiting = 0;
|
||||
|
||||
/* for opt */
|
||||
static uint64_t period = 10000;
|
||||
static const char optString[] = "i:hcr:t:";
|
||||
static const char optString[] = "i:hct:";
|
||||
static const char dev_prefix[] = "acrn_trace_";
|
||||
|
||||
static uint32_t flags;
|
||||
@ -41,7 +41,7 @@ static int pcpu_num = 0;
|
||||
static void display_usage(void)
|
||||
{
|
||||
printf("acrntrace - tool to collect ACRN trace data\n"
|
||||
"[Usage] acrntrace [-i] [period in msec] [-ch]\n\n"
|
||||
"[Usage] acrntrace [-i period] [-t max_time] [-ch]\n\n"
|
||||
"[Options]\n"
|
||||
"\t-h: print this message\n"
|
||||
"\t-i: period_in_ms: specify polling interval [1-999]\n"
|
||||
|
Loading…
Reference in New Issue
Block a user