From: George Dunlap Date: Mon, 3 Nov 2008 12:29:32 +0000 (+0000) Subject: [global] Include arc_cycles in vmentry output X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c9a31f527577746eb70d8301a0dc47f4345bf399;p=xenalyze.git [global] Include arc_cycles in vmentry output (cherry picked from commit 53e7b6a6899d2a022855b2980c451b88d942ffee) --- diff --git a/analyze.c b/analyze.c index 1d19e51..18641aa 100644 --- a/analyze.c +++ b/analyze.c @@ -4771,8 +4771,9 @@ void hvm_vmentry_process(struct record_info *ri, struct hvm_data *h) { } if(opt.dump_all) { - printf("]%s vmentry\n", - ri->dump_header); + unsigned long long arc_cycles = ri->tsc - h->exit_tsc; + printf("]%s vmentry cycles %lld %s\n", + ri->dump_header, arc_cycles, (arc_cycles>10000)?"!":""); } hvm_close_vmexit(h, ri->tsc);