kqemu profiling

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1546 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-08-21 09:30:40 +00:00
parent aa06297340
commit 5e6ad6f90e
2 changed files with 5 additions and 0 deletions

View File

@ -251,6 +251,9 @@ static void do_info_history (void)
static void do_quit(void)
{
#ifdef USE_KQEMU
kqemu_record_dump();
#endif
exit(0);
}

2
vl.h
View File

@ -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 */