@samitouri / QOSamiQemu / commits / 25ad0dbb74

hmp: remove 'vcpu' argument from trace-event help

Fixes: 89aafcf2a793 ("trace: remove code that depends on setting vcpu") Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20260828-qemu-no-hmp-v5-3-9227de146347@redhat.com>

Marc-André Lureau committed Aug 28, 2026 at 16:04 UTC 25ad0dbb741d8cd03230ca5f85de80d190096993
2 files changed +6 -7
hmp-commands-info.hx
+3 -3
@@ -587,10 +587,10 @@ ERST
587
588 {
589 .name = "trace-events",
590 - .args_type = "name:s?,vcpu:i?",
591 - .params = "[name] [vcpu]",
590 + .args_type = "name:s?",
591 + .params = "[name]",
592 .help = "show available trace-events & their state "
593 - "(name: event name pattern; vcpu: vCPU to query, default is any)",
593 + "(name: event name pattern)",
594 .cmd = hmp_info_trace_events,
595 .command_completion = info_trace_events_completion,
596 },
hmp-commands.hx
+3 -4
@@ -299,10 +299,9 @@ ERST
299
300 {
301 .name = "trace-event",
302 - .args_type = "name:s,option:b,vcpu:i?",
303 - .params = "name on|off [vcpu]",
304 - .help = "changes status of a specific trace event "
305 - "(vcpu: vCPU to set, default is all)",
302 + .args_type = "name:s,option:b",
303 + .params = "name on|off",
304 + .help = "changes status of a specific trace event",
305 .cmd = hmp_trace_event,
306 .command_completion = trace_event_completion,
307 },