acrn-hypervisor/misc/debug_tools
nacui 512c98fd79 hv: trace: show cpu usage of vms in pcpu sharing case
To maximize the cpu utilization, core 0 is usually shared by service
vm and guest vm. But there are no statistics to show the cpu occupation
of each vm.

This patch is to provide cpu usage statistic for users. To calculate
it, a new trace event is added and marked in scheduling context switch,
accompanying with a new python script to analyze the data from acrntrace
output.

Tracked-On: #8621
Signed-off-by: nacui <na.cui@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Reviewed-by: Haiwei Li <haiwei.li@intel.com>
2024-06-28 12:55:23 +08:00
..
acrn_crashlog Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
acrn_log Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
acrn_trace hv: trace: show cpu usage of vms in pcpu sharing case 2024-06-28 12:55:23 +08:00