summary refs log tree commit diff stats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx8
1 files changed, 5 insertions, 3 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 7da9e6cb91..74446c669e 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -646,10 +646,12 @@ ETEXI
 
     {
         .name       = "trace-events",
-        .args_type  = "",
-        .params     = "",
-        .help       = "show available trace-events & their state",
+        .args_type  = "name:s?,vcpu:i?",
+        .params     = "[name] [vcpu]",
+        .help       = "show available trace-events & their state "
+                      "(name: event name pattern; vcpu: vCPU to query, default is any)",
         .mhandler.cmd = hmp_info_trace_events,
+        .command_completion = info_trace_events_completion,
     },
 
 STEXI