qemu-e2k/monitor
Dongli Zhang 3183bb3f44 monitor/hmp: print trace as option in help for log command
The below is printed when printing help information in qemu-system-x86_64
command line, and when CONFIG_TRACE_LOG is enabled:

----------------------------
$ qemu-system-x86_64 -d help
... ...
trace:PATTERN   enable trace events

Use "-d trace:help" to get a list of trace events.
----------------------------

However, the options of "trace:PATTERN" are only printed by
"qemu-system-x86_64 -d help", but missing in hmp "help log" command.

Fixes: c84ea00dc2 ("log: add "-d trace:PATTERN"")
Cc: Joe Jin <joe.jin@oracle.com>
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Message-Id: <20220831213943.8155-1-dongli.zhang@oracle.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2022-09-15 12:19:08 +01:00
..
hmp-cmds.c * Boolean statistics for KVM 2022-07-21 11:13:01 +01:00
hmp.c monitor/hmp: print trace as option in help for log command 2022-09-15 12:19:08 +01:00
meson.build
misc.c monitor: Support specified vCPU registers 2022-09-15 11:58:37 +01:00
monitor-internal.h
monitor.c Move error_printf_unless_qmp() with monitor unit 2022-04-21 17:09:09 +04:00
qmp-cmds-control.c
qmp-cmds.c qmp: add filtering of statistics by name 2022-06-14 16:50:30 +02:00
qmp.c
trace-events
trace.h