mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-01 07:21:09 +00:00
5a4b0d4112
Sphinx 3.2 is pickier than earlier versions about the option:: markup, and complains about our usage in qemu-option-trace.rst: ../../docs/qemu-option-trace.rst.inc:4:Malformed option description '[enable=]PATTERN', should look like "opt", "-opt args", "--opt args", "/opt args" or "+opt args" In this file, we're really trying to document the different parts of the top-level --trace option, which qemu-nbd.rst and qemu-img.rst have already introduced with an option:: markup. So it's not right to use option:: here anyway. Switch to a different markup (definition lists) which gives about the same formatted output. (Unlike option::, this markup doesn't produce index entries; but at the moment we don't do anything much with indexes anyway, and in any case I think it doesn't make much sense to have individual index entries for the sub-parts of the --trace option.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20201030174700.7204-3-peter.maydell@linaro.org
27 lines
889 B
PHP
27 lines
889 B
PHP
|
|
Specify tracing options.
|
|
|
|
``[enable=]PATTERN``
|
|
|
|
Immediately enable events matching *PATTERN*
|
|
(either event name or a globbing pattern). This option is only
|
|
available if QEMU has been compiled with the ``simple``, ``log``
|
|
or ``ftrace`` tracing backend. To specify multiple events or patterns,
|
|
specify the :option:`-trace` option multiple times.
|
|
|
|
Use :option:`-trace help` to print a list of names of trace points.
|
|
|
|
``events=FILE``
|
|
|
|
Immediately enable events listed in *FILE*.
|
|
The file must contain one event name (as listed in the ``trace-events-all``
|
|
file) per line; globbing patterns are accepted too. This option is only
|
|
available if QEMU has been compiled with the ``simple``, ``log`` or
|
|
``ftrace`` tracing backend.
|
|
|
|
``file=FILE``
|
|
|
|
Log output traces to *FILE*.
|
|
This option is only available if QEMU has been compiled with
|
|
the ``simple`` tracing backend.
|