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

[Xen-devel] [PATCH 2 of 8] xenalyze: Remove spurious dump_header construction



The h->dump_header information was being filled out on summary
runs, even though it's not used.  Use it only if opt.dump_all is
enabled.

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

diff -r f8c3c44be309 -r 2ab3da778828 xenalyze.c
--- a/xenalyze.c        Thu Jan 26 17:11:34 2012 +0000
+++ b/xenalyze.c        Thu Jan 26 17:16:32 2012 +0000
@@ -5327,7 +5327,7 @@ void hvm_vmexit_process(struct record_in
     h->post_process = hvm_generic_postprocess;
     h->inflight.generic.event = 0;
   
-    {
+    if ( opt.dump_all) {
         struct time_struct t;
         char * c;
         int len, r;

_______________________________________________
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®.