From: Jonathan Rajotte Julien Date: Tue, 29 Jul 2014 14:25:52 +0000 (-0400) Subject: mi: add machine interface description to man page X-Git-Tag: v2.6.0-rc1~91 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ed43168ab69c442b8d4cc229c5355260aefef61e;p=lttng-tools.git mi: add machine interface description to man page Signed-off-by: Jonathan Rajotte Julien Signed-off-by: David Goulet --- diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 12ca33d6f..80861e905 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -77,6 +77,26 @@ Simple listing of lttng options. .TP .BR "\-\-list\-commands" Simple listing of lttng commands. +.TP +.BR "\-m, \-\-mi TYPE +Machine interface + +TYPE supported: XML + +Machine interface (MI) mode converts the traditional pretty printing to a +machine output syntax. MI mode provides a format change-resistant way to access +information generated via the lttng command line. + +When using MI mode, the data is printed on \fBstdout\fP. Error and warning are +printed on \fBstderr\fP with the pretty print default format. + +If any errors occur during the execution of a command, the return value of the +command will be different than zero. In this case, lttng does NOT guarantee the +syntax and data validity of the generated MI output. + +For XML output type, a schema definition (XSD) file used for validation can be +found under src/common/mi_lttng.xsd + .SH "COMMANDS" .PP