[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 10/10] linux-user: dumping hot TBs at the end
From: |
Aleksandar Markovic |
Subject: |
Re: [Qemu-devel] [PATCH v5 10/10] linux-user: dumping hot TBs at the end of the execution |
Date: |
Thu, 15 Aug 2019 16:26:14 +0200 |
15.08.2019. 04.37, "vandersonmr" <address@hidden> је написао/ла:
>
> dumps, in linux-user mode, the hottest TBs if -d tb_stats is used.
>
> Signed-off-by: Vanderson M. do Rosario <address@hidden>
> --
Hi, Vanderson,
Can you please provide an illustrative example of the dump output, within
the commit message?
Thanks,
Aleksandar
> linux-user/exit.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/linux-user/exit.c b/linux-user/exit.c
> index bdda720553..7226104959 100644
> --- a/linux-user/exit.c
> +++ b/linux-user/exit.c
> @@ -28,6 +28,10 @@ extern void __gcov_dump(void);
>
> void preexit_cleanup(CPUArchState *env, int code)
> {
> + if (tb_stats_collection_enabled()) {
> + dump_tbs_info(max_num_hot_tbs_to_dump, SORT_BY_HOTNESS, false);
> + }
> +
> #ifdef TARGET_GPROF
> _mcleanup();
> #endif
> --
> 2.22.0
>
>
- Re: [Qemu-devel] [PATCH v5 03/10] accel: collecting JIT statistics, (continued)
- [Qemu-devel] [PATCH v5 04/10] accel: replacing part of CONFIG_PROFILER with TBStats, vandersonmr, 2019/08/14
- [Qemu-devel] [PATCH v5 06/10] log: adding -d tb_stats to control tbstats, vandersonmr, 2019/08/14
- [Qemu-devel] [PATCH v5 05/10] accel: adding TB_JIT_TIME and full replacing CONFIG_PROFILER, vandersonmr, 2019/08/14
- [Qemu-devel] [PATCH v5 07/10] monitor: adding tb_stats hmp command, vandersonmr, 2019/08/14
- [Qemu-devel] [PATCH v5 08/10] Adding info [tbs|tb|coverset] commands to HMP. These commands allow the exploration of TBs generated by the TCG. Understand which one hotter, with more guest/host instructions... and examine their guest, host and IR code., vandersonmr, 2019/08/14
- [Qemu-devel] [PATCH v5 10/10] linux-user: dumping hot TBs at the end of the execution, vandersonmr, 2019/08/14
- Re: [Qemu-devel] [PATCH v5 10/10] linux-user: dumping hot TBs at the end of the execution,
Aleksandar Markovic <=
- [Qemu-devel] [PATCH v5 09/10] monitor: adding new info cfg command, vandersonmr, 2019/08/14