Commit 5e6ad6f90eaab923b2d949882751075c5e3291e0

Authored by bellard
1 parent aa062973

kqemu profiling


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1546 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 5 additions and 0 deletions
monitor.c
... ... @@ -251,6 +251,9 @@ static void do_info_history (void)
251 251  
252 252 static void do_quit(void)
253 253 {
  254 +#ifdef USE_KQEMU
  255 + kqemu_record_dump();
  256 +#endif
254 257 exit(0);
255 258 }
256 259  
... ...
... ... @@ -878,4 +878,6 @@ const char *readline_get_history(unsigned int index);
878 878 void readline_start(const char *prompt, int is_password,
879 879 ReadLineFunc *readline_func, void *opaque);
880 880  
  881 +void kqemu_record_dump(void);
  882 +
881 883 #endif /* VL_H */
... ...