]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
kqemu profiling
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 21 Aug 2005 09:30:40 +0000 (09:30 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 21 Aug 2005 09:30:40 +0000 (09:30 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1546 c046a42c-6fe2-441c-8c8c-71466251a162

monitor.c
vl.h

index 297c0a42d2ab73d94efcad0730d69ae1d914ac63..1ff9bde6e0f67f437ba65ff65f8f05197c769ac9 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -251,6 +251,9 @@ static void do_info_history (void)
 
 static void do_quit(void)
 {
+#ifdef USE_KQEMU
+    kqemu_record_dump();
+#endif
     exit(0);
 }
 
diff --git a/vl.h b/vl.h
index e0bc8b855ccf93e1ed2bce3050b0383847059dc0..31d05b6b58501acc8eb3833cce11abbbc49b0f45 100644 (file)
--- a/vl.h
+++ b/vl.h
@@ -878,4 +878,6 @@ const char *readline_get_history(unsigned int index);
 void readline_start(const char *prompt, int is_password,
                     ReadLineFunc *readline_func, void *opaque);
 
+void kqemu_record_dump(void);
+
 #endif /* VL_H */