mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-29 14:37:36 +00:00
doc: add cpu usage in acrntrace
This patch adds the description of newly added parameter of acrntrace analyzer, as well as the user guide that how to analyze the cpu usage of VMs in cpu sharing case. Tracked-On: #8621 Signed-off-by: Na Cui <na.cui@intel.com>
This commit is contained in:
parent
d68f223dde
commit
8be8abebf3
@ -159,6 +159,16 @@ reason and times of each vm_exit after we have done some operations.
|
||||
|
||||
vmexit summary information
|
||||
|
||||
4. Use the command to get a summary of cpu usage in cpu-sharing case::
|
||||
|
||||
# acrnalyze.py -i /home/trace/acrntrace/20231122-054116/0 -o cpu_usage --cpu_usage
|
||||
|
||||
.. figure:: images/debug_image29.png
|
||||
:align: center
|
||||
|
||||
cpu usage summary information
|
||||
|
||||
|
||||
Using Self-Defined Trace Event ID to Analyze Trace
|
||||
==================================================
|
||||
|
||||
|
BIN
doc/tutorials/images/debug_image29.png
Normal file
BIN
doc/tutorials/images/debug_image29.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
@ -75,6 +75,7 @@ Options:
|
||||
-f, --frequency=unsigned_int TSC frequency in MHz
|
||||
--vm_exit generate a vm_exit report
|
||||
--irq generate an IRQ-related report
|
||||
--cpu_usage generate a cpu_usage report
|
||||
|
||||
.. note:: The tool depends on TSC frequency to do time-based analysis. Be sure
|
||||
to configure the right TSC frequency that ACRN runs on. TSC frequency can be
|
||||
@ -140,6 +141,8 @@ data to your development computer (Linux system), and run the analysis tool.
|
||||
- The analysis report is written to stdout, or to a CSV file if
|
||||
a file name is specified using ``-o filename``.
|
||||
- The scripts require Python3.
|
||||
- If want to analyze cpu usage of each VM in cpu-sharing case, use ``--cpu_usage``
|
||||
to replace.
|
||||
|
||||
Build and Install
|
||||
*****************
|
||||
|
Loading…
Reference in New Issue
Block a user