blob: 4166d5cdc2ddc191dd73f5ea08504f57483e7ea5 [file] [log] [blame]
Denis V. Luneveeb2b8f2016-06-17 17:44:09 +03001Specify tracing options.
2
3@table @option
4@item [enable=]@var{pattern}
5Immediately enable events matching @var{pattern}.
6The file must contain one event name (as listed in the @file{trace-events-all}
7file) per line; globbing patterns are accepted too. This option is only
Philipp Gesang20f8a132017-02-02 12:41:01 +01008available if QEMU has been compiled with the @var{simple}, @var{log}
Denis V. Luneveeb2b8f2016-06-17 17:44:09 +03009or @var{ftrace} tracing backend. To specify multiple events or patterns,
10specify the @option{-trace} option multiple times.
11
12Use @code{-trace help} to print a list of names of trace points.
13
14@item events=@var{file}
15Immediately enable events listed in @var{file}.
16The file must contain one event name (as listed in the @file{trace-events-all}
17file) per line; globbing patterns are accepted too. This option is only
Philipp Gesang20f8a132017-02-02 12:41:01 +010018available if QEMU has been compiled with the @var{simple}, @var{log} or
Denis V. Luneveeb2b8f2016-06-17 17:44:09 +030019@var{ftrace} tracing backend.
20
21@item file=@var{file}
22Log output traces to @var{file}.
23This option is only available if QEMU has been compiled with
24the @var{simple} tracing backend.
25@end table