1 file changed, 5 insertions(+) include/linux/kvm_host.h | 5 +++++
Add new kvm trace events. - context switch - TLB write - TLB invalidate - guest TLB write - shadow TLB write Signed-off-by: Jerone Young <[EMAIL PROTECTED]> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -362,6 +362,11 @@ void kvm_trace_cleanup(void); #define KVM_TRC_LMSW (KVM_TRC_HANDLER + 0x13) #define KVM_TRC_APIC_ACCESS (KVM_TRC_HANDLER + 0x14) #define KVM_TRC_TDP_FAULT (KVM_TRC_HANDLER + 0x15) +#define KVM_TRC_CONT_SWITCH (KVM_TRC_HANDLER + 0x16) /* context switch */ +#define KVM_TRC_TLB_WRITE (KVM_TRC_HANDLER + 0x17) /* TLB write */ +#define KVM_TRC_TLB_INVAL (KVM_TRC_HANDLER + 0x18) /* TLB invalidate */ +#define KVM_TRC_GTLB_WRITE (KVM_TRC_HANDLER + 0x19) /* guest TLB write */ +#define KVM_TRC_STLB_WRITE (KVM_TRC_HANDLER + 0x20) /* shadow TLB write */ #else static inline int kvm_trace_ioctl(unsigned int ioctl, unsigned long arg) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html