diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index 82134eb6c2..2695ff04ff 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -587,10 +587,10 @@ ERST { .name = "trace-events", - .args_type = "name:s?,vcpu:i?", - .params = "[name] [vcpu]", + .args_type = "name:s?", + .params = "[name]", .help = "show available trace-events & their state " - "(name: event name pattern; vcpu: vCPU to query, default is any)", + "(name: event name pattern)", .cmd = hmp_info_trace_events, .command_completion = info_trace_events_completion, }, diff --git a/hmp-commands.hx b/hmp-commands.hx index 43ff220b5f..ea4a1db78f 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -299,10 +299,9 @@ ERST { .name = "trace-event", - .args_type = "name:s,option:b,vcpu:i?", - .params = "name on|off [vcpu]", - .help = "changes status of a specific trace event " - "(vcpu: vCPU to set, default is all)", + .args_type = "name:s,option:b", + .params = "name on|off", + .help = "changes status of a specific trace event", .cmd = hmp_trace_event, .command_completion = trace_event_completion, },