From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCVCJ-0003bV-Gm for qemu-devel@nongnu.org; Mon, 13 Jun 2016 12:58:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCVCH-00084N-82 for qemu-devel@nongnu.org; Mon, 13 Jun 2016 12:58:46 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:29140 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCVCG-0007ys-QW for qemu-devel@nongnu.org; Mon, 13 Jun 2016 12:58:45 -0400 From: "Denis V. Lunev" Date: Mon, 13 Jun 2016 19:58:20 +0300 Message-Id: <1465837105-11206-2-git-send-email-den@openvz.org> In-Reply-To: <1465837105-11206-1-git-send-email-den@openvz.org> References: <1465837105-11206-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH 1/6] doc: move text describing --trace to specific .texi file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: eblake@redhat.com, "Denis V. Lunev" , Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf This text will be included to qemu-nbd/qemu-img mans in the next patches. Signed-off-by: Denis V. Lunev CC: Eric Blake CC: Paolo Bonzini CC: Stefan Hajnoczi CC: Kevin Wolf --- Makefile | 3 ++- qemu-option-trace.texi | 27 +++++++++++++++++++++++++++ qemu-options.hx | 28 +--------------------------- 3 files changed, 30 insertions(+), 28 deletions(-) create mode 100644 qemu-option-trace.texi diff --git a/Makefile b/Makefile index b8563db..e432e08 100644 --- a/Makefile +++ b/Makefile @@ -544,6 +544,7 @@ qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi qemu-monitor-info.texi perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu.pod && \ $(POD2MAN) --section=1 --center=" " --release=" " qemu.pod > $@, \ " GEN $@") +qemu.1: qemu-option-trace.texi qemu-img.1: qemu-img.texi qemu-img-cmds.texi $(call quiet-command, \ @@ -575,7 +576,7 @@ info: qemu-doc.info qemu-tech.info pdf: qemu-doc.pdf qemu-tech.pdf qemu-doc.dvi qemu-doc.html qemu-doc.info qemu-doc.pdf: \ - qemu-img.texi qemu-nbd.texi qemu-options.texi \ + qemu-img.texi qemu-nbd.texi qemu-options.texi qemu-option-trace.texi \ qemu-monitor.texi qemu-img-cmds.texi qemu-ga.texi \ qemu-monitor-info.texi diff --git a/qemu-option-trace.texi b/qemu-option-trace.texi new file mode 100644 index 0000000..8ec7d0c --- /dev/null +++ b/qemu-option-trace.texi @@ -0,0 +1,27 @@ +@findex -trace + +Specify tracing options. + +@table @option +@item [enable=]@var{pattern} +Immediately enable events matching @var{pattern}. +The file must contain one event name (as listed in the @file{trace-events} file) +per line; globbing patterns are accepted too. This option is only +available if QEMU has been compiled with the @var{simple}, @var{stderr} +or @var{ftrace} tracing backend. To specify multiple events or patterns, +specify the @option{-trace} option multiple times. + +Use @code{-trace help} to print a list of names of trace points. + +@item events=@var{file} +Immediately enable events listed in @var{file}. +The file must contain one event name (as listed in the @file{trace-events} file) +per line; globbing patterns are accepted too. This option is only +available if QEMU has been compiled with the @var{simple}, @var{stderr} or +@var{ftrace} tracing backend. + +@item file=@var{file} +Log output traces to @var{file}. +This option is only available if QEMU has been compiled with +the @var{simple} tracing backend. +@end table diff --git a/qemu-options.hx b/qemu-options.hx index 9f33361..5d7d356 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3661,33 +3661,7 @@ STEXI HXCOMM This line is not accurate, as some sub-options are backend-specific but HXCOMM HX does not support conditional compilation of text. @item -trace [events=@var{file}][,file=@var{file}] -@findex -trace - -Specify tracing options. - -@table @option -@item [enable=]@var{pattern} -Immediately enable events matching @var{pattern}. -The file must contain one event name (as listed in the @file{trace-events} file) -per line; globbing patterns are accepted too. This option is only -available if QEMU has been compiled with the @var{simple}, @var{stderr} -or @var{ftrace} tracing backend. To specify multiple events or patterns, -specify the @option{-trace} option multiple times. - -Use @code{-trace help} to print a list of names of trace points. - -@item events=@var{file} -Immediately enable events listed in @var{file}. -The file must contain one event name (as listed in the @file{trace-events} file) -per line; globbing patterns are accepted too. This option is only -available if QEMU has been compiled with the @var{simple}, @var{stderr} or -@var{ftrace} tracing backend. - -@item file=@var{file} -Log output traces to @var{file}. -This option is only available if QEMU has been compiled with -the @var{simple} tracing backend. -@end table +@include qemu-option-trace.texi ETEXI HXCOMM Internal use -- 2.5.0