Re: [PATCH v9 10/13] tb-stats: dump hot TBs at the end of the execution

2019-10-08 Thread Richard Henderson
On 10/7/19 11:28 AM, Alex Bennée wrote: > @@ -337,7 +336,8 @@ int qemu_str_to_log_mask(const char *str) > enable_collect_tb_stats(); > } else if (tb_stats_collection_enabled() && > g_str_has_prefix(*tmp, "dump_limit=")) { > -

[PATCH v9 10/13] tb-stats: dump hot TBs at the end of the execution

2019-10-07 Thread Alex Bennée
From: "Vanderson M. do Rosario" Dump the hottest TBs if -d tb_stats,dump_limit=N is used. Example of output for the 3 hottest TBs: TB id:1 | phys:0x34d54 virt:0x00034d54 flags:0xf0 | exec:4828932/0 guest inst cov:16.38% | trans:1 ints: g:3 op:82 op_opt:34 spills:3