diff options
author | SeokYeon Hwang <syeon.hwang@samsung.com> | 2017-06-28 16:20:50 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2017-06-28 16:21:16 +0900 |
commit | e6230f92c2a7c924f4092b877ee70a74f76e6841 (patch) | |
tree | 3f6f4a364da163b80c9669f903eda6f8aeb4d19b /docs/tracing.txt | |
parent | e9775ba331166fc2de29a387b1070281c8ec0985 (diff) | |
parent | 6ca9395b240883513b16a1875a7080b081612c57 (diff) | |
download | qemu-e6230f92c2a7c924f4092b877ee70a74f76e6841.tar.gz qemu-e6230f92c2a7c924f4092b877ee70a74f76e6841.tar.bz2 qemu-e6230f92c2a7c924f4092b877ee70a74f76e6841.zip |
Merge spin into tizen
Change-Id: I00f8d0dbf2d26f3c9c6754b9f1d986355037f5bb
Diffstat (limited to 'docs/tracing.txt')
-rw-r--r-- | docs/tracing.txt | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/tracing.txt b/docs/tracing.txt index 29f2f9a24d..f351998a4e 100644 --- a/docs/tracing.txt +++ b/docs/tracing.txt @@ -150,13 +150,16 @@ The trace backends are chosen at configure time: For a list of supported trace backends, try ./configure --help or see below. If multiple backends are enabled, the trace is sent to them all. +If no backends are explicitly selected, configure will default to the +"log" backend. + The following subsections describe the supported trace backends. === Nop === The "nop" backend generates empty trace event functions so that the compiler -can optimize out trace events completely. This is the default and imposes no -performance penalty. +can optimize out trace events completely. This imposes no performance +penalty. Note that regardless of the selected trace backend, events with the "disable" property will be generated with the "nop" backend. @@ -192,6 +195,18 @@ After running qemu by root user, you can get the trace: Restriction: "ftrace" backend is restricted to Linux only. +=== Syslog === + +The "syslog" backend sends trace events using the POSIX syslog API. The log +is opened specifying the LOG_DAEMON facility and LOG_PID option (so events +are tagged with the pid of the particular QEMU process that generated +them). All events are logged at LOG_INFO level. + +NOTE: syslog may squash duplicate consecutive trace events and apply rate + limiting. + +Restriction: "syslog" backend is restricted to POSIX compliant OS. + ==== Monitor commands ==== * trace-file on|off|flush|set <path> |