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

[Xen-devel] [PATCH 05 of 10] xenalyze: correctly display of count of HW events



HW events where being shown under "(null)" in the summary.

Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>

diff --git a/xenalyze.c b/xenalyze.c
--- a/xenalyze.c
+++ b/xenalyze.c
@@ -1805,7 +1805,8 @@ enum {
     TOPLEVEL_MEM,
     TOPLEVEL_PV,
     TOPLEVEL_SHADOW,
-    TOPLEVEL_MAX=12
+    TOPLEVEL_HW,
+    TOPLEVEL_MAX=TOPLEVEL_HW+1,
 };
 
 char * toplevel_name[TOPLEVEL_MAX] = {
@@ -1816,6 +1817,7 @@ char * toplevel_name[TOPLEVEL_MAX] = {
     [TOPLEVEL_MEM]="mem",
     [TOPLEVEL_PV]="pv",
     [TOPLEVEL_SHADOW]="shadow",
+    [TOPLEVEL_HW]="hw",
 };
 
 struct trace_volume {
@@ -8595,7 +8597,6 @@ void process_cpu_change(struct pcpu_info
     }
 }
 
-#define TOPLEVEL_MAX 16
 struct tl_assert_mask {
     unsigned p_current:1,
         not_idle_domain:1;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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