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

[Xen-devel] [PATCH 05 of 12] xenalyze: Handle new hvm_event traces



Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

diff -r 844117c5a51e -r 463ac7003722 trace.h
--- a/trace.h   Mon Nov 28 16:16:23 2011 +0000
+++ b/trace.h   Mon Nov 28 16:16:23 2011 +0000
@@ -162,6 +162,9 @@
 #define TRC_HVM_RDTSC           (TRC_HVM_HANDLER + 0x1a)
 #define TRC_HVM_INTR_WINDOW     (TRC_HVM_HANDLER + 0x20)
 #define TRC_HVM_NPF             (TRC_HVM_HANDLER + 0x21)
+#define TRC_HVM_REALMODE_EMULATE (TRC_HVM_HANDLER + 0x22)
+#define TRC_HVM_TRAP             (TRC_HVM_HANDLER + 0x23)
+#define TRC_HVM_TRAP_DEBUG       (TRC_HVM_HANDLER + 0x24)
 
 #define TRC_HVM_IOPORT_WRITE    (TRC_HVM_HANDLER + 0x216)
 #define TRC_HVM_IOMEM_WRITE     (TRC_HVM_HANDLER + 0x217)
diff -r 844117c5a51e -r 463ac7003722 xenalyze.c
--- a/xenalyze.c        Mon Nov 28 16:16:23 2011 +0000
+++ b/xenalyze.c        Mon Nov 28 16:16:23 2011 +0000
@@ -982,6 +982,9 @@ enum {
     HVM_EVENT_RDTSC,
     HVM_EVENT_INTR_WINDOW=0x20, /* Oops... skipped 0x1b-1f */
     HVM_EVENT_NPF,
+    HVM_EVENT_REALMODE_EMULATE,
+    HVM_EVENT_TRAP,
+    HVM_EVENT_TRAP_DEBUG,
     HVM_EVENT_HANDLER_MAX
 };
 char * hvm_event_handler_name[HVM_EVENT_HANDLER_MAX] = {
@@ -1014,6 +1017,9 @@ char * hvm_event_handler_name[HVM_EVENT_
     "rdtsc",
     [HVM_EVENT_INTR_WINDOW]="intr_window",
     "npf",
+    "realmode_emulate",
+    "trap",
+    "trap_debug",
 };
 
 enum {
@@ -4930,6 +4936,9 @@ needs_vmexit:
     case TRC_HVM_LMSW:
     case TRC_HVM_LMSW64:
     case TRC_HVM_NMI:
+    case TRC_HVM_REALMODE_EMULATE:
+    case TRC_HVM_TRAP:
+    case TRC_HVM_TRAP_DEBUG:
     case TRC_HVM_CR_READ:
     case TRC_HVM_CR_READ64:
     default:

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.