On 2015-3-12 15:20, Fam Zheng wrote:
> On Thu, 03/12 15:00, Ting Wang wrote:
>> +if (elem->value)
>> +monitor_printf(mon, "%s: thread_id=%ld\n", elem->value->id,
>> +elem->value->thread_id);
>
> Braces are required for if.
>
> Fam
>
>
Okay, will fix in
On Thu, 03/12 15:00, Ting Wang wrote:
> +if (elem->value)
> +monitor_printf(mon, "%s: thread_id=%ld\n", elem->value->id,
> +elem->value->thread_id);
Braces are required for if.
Fam
Make "info iothreads" available on the HMP monitor.
The results are as follows:
id1: thread_id1
id2: thread_id2
Signed-off-by: Ting Wang
---
hmp-commands.hx | 2 ++
hmp.c | 21 +
hmp.h | 1 +
monitor.c | 7 +++
4 files changed, 31 insertions(