Richard Henderson writes:
> On 10/5/18 8:49 AM, Alex Bennée wrote:
>> +char *plugin_status(void)
>> +{
>> +GString *report = g_string_new("We have ");
>> +char *r;
>> +g_mutex_lock(&lock);
>> +g_string_append_printf(report, "%ud entries in the hash table\n",
>> +
On 10/5/18 8:49 AM, Alex Bennée wrote:
> +char *plugin_status(void)
> +{
> +GString *report = g_string_new("We have ");
> +char *r;
> +g_mutex_lock(&lock);
> +g_string_append_printf(report, "%ud entries in the hash table\n",
> + g_hash_table_size(hotblocks)
Pavel Dovgalyuk writes:
> I guess this one is too tcg-dependent.
> It count TB's, but breaking code into TBs may depend on many things,
> like breakpoints, record/replay, ...
>
> I mean that this measuring approach may be used only in some specific
> cases, and not ok as an example.
You are ri
I guess this one is too tcg-dependent.
It count TB's, but breaking code into TBs may depend on many things,
like breakpoints, record/replay, ...
I mean that this measuring approach may be used only in some specific
cases, and not ok as an example.
Pavel Dovgalyuk
> -Original Message-
> F
This plugin attempts to track hotblocks by total execution count and
average time to return to block. It is intended to be lower impact
than saving a long log file and post-processing it.
Signed-off-by: Alex Bennée
---
trace/plugins/hotblocks/hotblocks.c | 69 +
1 fil