acrn-hypervisor/tools/acrntrace/scripts
Kaige Fu 18d44cc928 tools: acrnalyze: Make the result easier to read
Originally, we don't format the output of analyser well. It is hard to read the
result.

This patch make every entry of the result align with the corresponding title to
make it easier for users to read.

Without patch:
Event                    NR_Exit         NR_Exit/Sec     Time Consumed(cycles)       Time Percentage
VMEXIT_INTERRUPT_WINDOW         78090   130.15  40      0.01
VMEXIT_CR_ACCESS        0       0.00    0       0.00
VMEXIT_APICV_ACCESS     0       0.00    0       0.00
VMEXIT_EXCEPTION_OR_NMI         0       0.00    0       0.00
VMEXIT_RDTSC    0       0.00    0       0.00

...

Vector          Count   NR_Exit/Sec
0x000000f0       82337  137.23
0x000000ef       247713         412.85

With patch:
Event                           NR_Exit         NR_Exit/Sec     Time Consumed(cycles)           Time percentage
VMEXIT_APICV_WRITE              13352           22.25           14331304                        0.00
VMEXIT_WRMSR                    309085          515.14          241166212                       0.02
VMEXIT_INTERRUPT_WINDOW         78090           130.15          76841734                        0.01

...

Vector          Count           NR_Exit/Sec
0x000000f0      82337           137.23
0x000000ef      247713          412.85

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Yan, Like <like.yan@intel.com>
2018-08-15 10:59:31 +08:00
..
acrnalyze.py tools: acrntrace: Make all python scripts python3 module 2018-07-03 10:19:31 +08:00
acrntrace_format.py tools: acrntrace: Add support for TRACE_6C/16STR 2018-07-10 12:51:59 +08:00
config.py tools: acrntrace: Make TSC frequency configurable 2018-06-29 13:05:27 +08:00
formats tools: acrntrace: Add new tool acrntrace_format 2018-06-29 13:05:27 +08:00
irq_analyze.py tools: acrnalyze: Make the result easier to read 2018-08-15 10:59:31 +08:00
vmexit_analyze.py tools: acrnalyze: Make the result easier to read 2018-08-15 10:59:31 +08:00