accel/system: Add 'info accel' on human monitor

'info accel' dispatches to the AccelOpsClass::get_stats()
and get_vcpu_stats() handlers.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20250715140048.84942-5-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-06-17 14:44:14 +02:00
parent 1861993f1f
commit c10eb74010
2 changed files with 20 additions and 0 deletions

View file

@ -267,6 +267,18 @@ ERST
.cmd = hmp_info_sync_profile,
},
{
.name = "accel",
.args_type = "",
.params = "",
.help = "show accelerator info",
},
SRST
``info accel``
Show accelerator info.
ERST
SRST
``info sync-profile [-m|-n]`` [*max*]
Show synchronization profiling info, up to *max* entries (default: 10),