mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-11 23:48:07 +00:00
This patch provides interface to configure(setup before actual collection) PMI and VM switch tracing information. profiling_config_pmi: Receives required information for configuring PMI from guest, populates the information info per_cpu region and SMP calls profiling_initilaize_pmi profiling_initialize_pmi: Configure the PMU's for sep/socwatch profiling. Initial write of PMU registers. Walk through the entries and write the value of the register accordingly. profiling_config_vmsw: Receives required information for configuring VMswitch from guest, Configure for VM-switch data on all cpus profiling_initialize_vmsw: initializes VMSwitch tracing Tracked-On: projectacrn#1409 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Manisha <manisha.chinthapally@intel.com>