]> xenbits.xensource.com Git - xenalyze.git/commitdiff
[global] Include arc_cycles in vmentry output
authorGeorge Dunlap <dunlapg@silas.(none)>
Mon, 3 Nov 2008 12:29:32 +0000 (12:29 +0000)
committerGeorge Dunlap <dunlapg@silas.(none)>
Mon, 3 Nov 2008 12:29:32 +0000 (12:29 +0000)
analyze.c

index 1d19e5105f3822a47b6ca0d30e872874c3b1c55a..18641aae01328282437f76eb8cce52dc62676a60 100644 (file)
--- 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);