9e917057e9
This patch fixes incorrect vm_id captured when sampling PMU data. Currently, the vm_id gets attributed to ACRN hypervisor, rather than actual guest vm_id. The issue is identified that the existing code captures the guest vm info after vmexit_hander function is completed, in which the profiling module points its context to VMM. When the vmexit happens by PMI, the guest context should be captured so that the attribution to proper guest vm can happen. This change will also allow to capture more accurate TSC when vmexit happens. Tracked-On: #2043 Signed-off-by: Min Lim <min.yeol.lim@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
console.c | ||
dump.c | ||
hypercall.c | ||
logmsg.c | ||
npk_log.c | ||
profiling.c | ||
trace.c | ||
vuart.c |