mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-01 13:14:02 +00:00
This patch adds support to sep/socwatch profiling Adds 2 new files include/arch/x86/profiling.h and arch/x86/profiling.c which contains most of the implementation for profiling,most of the functions in profiling.c have dummy implementation and will be implemented in next patches a. cpu.c, Initial profiling setup is done as part of bsp_boot_post and cpu_secondary_post flow b. vmcall.c, New ioctl is added for performing profiling related operations in vmcall_vmexit_handler ioctl - HC_PROFILING_OPS function - hcall_profiling_ops() c. common/hypercall.c, hcall_profiling_ops() implementation. d. hv_main.c, In vcpu_thread calling profiling related functions to save vm context e. acrn_hv_defs.h, list all the profiling command types Tracked-On: projectacrn#1409 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Chinthapally, Manisha <manisha.chinthapally@intel.com>
19 lines
318 B
C
19 lines
318 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef HV_DEBUG_H
|
|
#define HV_DEBUG_H
|
|
|
|
#include <logmsg.h>
|
|
#include <console.h>
|
|
#include <dump.h>
|
|
#include <trace.h>
|
|
#include <sbuf.h>
|
|
#include <npk_log.h>
|
|
#include <profiling.h>
|
|
|
|
#endif /* HV_DEBUG_H */
|