acrn-hypervisor/hypervisor/debug
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
..
console.c debug: vuart: add guest break key support 2024-04-25 15:00:09 +08:00
dbg_cmd.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
dump.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
hypercall.c hv: extend sbuf hypercall 2022-09-27 10:26:42 +08:00
logmsg.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
Makefile HV: makefile: to avoid duplicated build libs 2020-05-21 15:12:21 +08:00
npk_log.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
printf.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
profiling.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
sbuf.c hv: support asyncio request 2022-09-27 10:26:42 +08:00
shell_priv.h doc: update doc for vUART to hypervisor console switch key 2024-06-25 11:07:21 +08:00
shell.c hv: change the version format 2022-11-21 09:45:26 +08:00
string.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trace.c hv: trace: show cpu usage of vms in pcpu sharing case 2024-06-28 12:55:23 +08:00
uart16550.c hv: support for pci uart with high mmio 2022-11-21 16:50:05 +08:00