diff options
author | Max Filippov | 2014-11-02 09:04:18 +0100 |
---|---|---|
committer | Max Filippov | 2014-12-17 03:49:32 +0100 |
commit | 246ae24d7df47f05d7b102f9c84e00b536eadc43 (patch) | |
tree | 6f0829b1a368a7bdd3ae40446a40ed83ca7f1edf /translate-all.c | |
parent | Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20141216-1' into ... (diff) | |
download | qemu-246ae24d7df47f05d7b102f9c84e00b536eadc43.tar.gz qemu-246ae24d7df47f05d7b102f9c84e00b536eadc43.tar.xz qemu-246ae24d7df47f05d7b102f9c84e00b536eadc43.zip |
tcg: add separate monitor command to dump opcode counters
Currently 'info jit' outputs half of the information to monitor and the
rest to qemu log. Dumping opcode counts to monitor as a part of 'info
jit' command doesn't sound useful. Add new monitor command 'info
opcount' that only dumps opcode counters.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'translate-all.c')
-rw-r--r-- | translate-all.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/translate-all.c b/translate-all.c index cf05472008..f8abfe88e7 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1651,6 +1651,11 @@ void dump_exec_info(FILE *f, fprintf_function cpu_fprintf) tcg_dump_info(f, cpu_fprintf); } +void dump_opcount_info(FILE *f, fprintf_function cpu_fprintf) +{ + tcg_dump_op_count(f, cpu_fprintf); +} + #else /* CONFIG_USER_ONLY */ void cpu_interrupt(CPUState *cpu, int mask) |