From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: [PATCH 2 of 8] xenalyze: Remove spurious dump_header construction Date: Thu, 26 Jan 2012 17:20:59 +0000 Message-ID: <2ab3da778828dd481df5.1327598459@elijah> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: george.dunlap@eu.citrix.com List-Id: xen-devel@lists.xenproject.org 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 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;