[PATCH 3 of 3] Add new KVM TRACE events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jyoung5@xxxxxxxxxx>

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-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux