From: bellard Date: Sun, 21 Aug 2005 09:30:40 +0000 (+0000) Subject: kqemu profiling X-Git-Tag: release_0_8_1~352 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e6ad6f90eaab923b2d949882751075c5e3291e0;p=thirdparty%2Fqemu.git kqemu profiling git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1546 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/monitor.c b/monitor.c index 297c0a42d2a..1ff9bde6e0f 100644 --- 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 e0bc8b855cc..31d05b6b585 100644 --- 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 */