mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 21:09:54 +00:00
profiling: enable to capture dropped samples while buffering
Since the profiling utilizes the limited size of buffer to capture sample data, dropping samples could happen while collecting data if data is generated faster than flushing by consumer. Capturing the dropped sample info is critical to understand how much the data is reliable to use. To capture the information, the new hypercall "PROFILING_GET_STATUS" is introduced. Tracked-On: #2474 Signed-off-by: Manisha Chinthapally <manisha.chinthapally@intel.com> Signed-off-by: Min Lim <min.yeol.lim@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -325,7 +325,8 @@ enum profiling_cmd_type {
|
||||
PROFILING_SET_CONTROL_SWITCH,
|
||||
PROFILING_CONFIG_PMI,
|
||||
PROFILING_CONFIG_VMSWITCH,
|
||||
PROFILING_GET_PCPUID
|
||||
PROFILING_GET_PCPUID,
|
||||
PROFILING_GET_STATUS
|
||||
};
|
||||
|
||||
#endif /* ACRN_HV_DEFS_H */
|
||||
|
Reference in New Issue
Block a user