perf tools: Put itrace options into an asciidoc include
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 17 Jul 2015 16:33:44 +0000 (19:33 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Aug 2015 14:40:44 +0000 (11:40 -0300)
perf script, report and inject all have the same itrace options. Put
them into an asciidoc include file.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1437150840-31811-10-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/itrace.txt [new file with mode: 0644]
tools/perf/Documentation/perf-inject.txt
tools/perf/Documentation/perf-report.txt
tools/perf/Documentation/perf-script.txt

diff --git a/tools/perf/Documentation/itrace.txt b/tools/perf/Documentation/itrace.txt
new file mode 100644 (file)
index 0000000..2ff9466
--- /dev/null
@@ -0,0 +1,22 @@
+               i       synthesize instructions events
+               b       synthesize branches events
+               c       synthesize branches events (calls only)
+               r       synthesize branches events (returns only)
+               x       synthesize transactions events
+               e       synthesize error events
+               d       create a debug log
+               g       synthesize a call chain (use with i or x)
+
+       The default is all events i.e. the same as --itrace=ibxe
+
+       In addition, the period (default 100000) for instructions events
+       can be specified in units of:
+
+               i       instructions
+               t       ticks
+               ms      milliseconds
+               us      microseconds
+               ns      nanoseconds (default)
+
+       Also the call chain size (default 16, max. 1024) for instructions or
+       transactions events can be specified.
index b876ae3..0c721c3 100644 (file)
@@ -48,28 +48,7 @@ OPTIONS
        Decode Instruction Tracing data, replacing it with synthesized events.
        Options are:
 
-               i       synthesize instructions events
-               b       synthesize branches events
-               c       synthesize branches events (calls only)
-               r       synthesize branches events (returns only)
-               x       synthesize transactions events
-               e       synthesize error events
-               d       create a debug log
-               g       synthesize a call chain (use with i or x)
-
-       The default is all events i.e. the same as --itrace=ibxe
-
-       In addition, the period (default 100000) for instructions events
-       can be specified in units of:
-
-               i       instructions
-               t       ticks
-               ms      milliseconds
-               us      microseconds
-               ns      nanoseconds (default)
-
-       Also the call chain size (default 16, max. 1024) for instructions or
-       transactions events can be specified.
+include::itrace.txt[]
 
 SEE ALSO
 --------
index a18ba75..9c7981b 100644 (file)
@@ -331,28 +331,7 @@ OPTIONS
 --itrace::
        Options for decoding instruction tracing data. The options are:
 
-               i       synthesize instructions events
-               b       synthesize branches events
-               c       synthesize branches events (calls only)
-               r       synthesize branches events (returns only)
-               x       synthesize transactions events
-               e       synthesize error events
-               d       create a debug log
-               g       synthesize a call chain (use with i or x)
-
-       The default is all events i.e. the same as --itrace=ibxe
-
-       In addition, the period (default 100000) for instructions events
-       can be specified in units of:
-
-               i       instructions
-               t       ticks
-               ms      milliseconds
-               us      microseconds
-               ns      nanoseconds (default)
-
-       Also the call chain size (default 16, max. 1024) for instructions or
-       transactions events can be specified.
+include::itrace.txt[]
 
        To disable decoding entirely, use --no-itrace.
 
index 8e9be1f..c0d2479 100644 (file)
@@ -235,28 +235,7 @@ OPTIONS
 --itrace::
        Options for decoding instruction tracing data. The options are:
 
-               i       synthesize instructions events
-               b       synthesize branches events
-               c       synthesize branches events (calls only)
-               r       synthesize branches events (returns only)
-               x       synthesize transactions events
-               e       synthesize error events
-               d       create a debug log
-               g       synthesize a call chain (use with i or x)
-
-       The default is all events i.e. the same as --itrace=ibxe
-
-       In addition, the period (default 100000) for instructions events
-       can be specified in units of:
-
-               i       instructions
-               t       ticks
-               ms      milliseconds
-               us      microseconds
-               ns      nanoseconds (default)
-
-       Also the call chain size (default 16, max. 1024) for instructions or
-       transactions events can be specified.
+include::itrace.txt[]
 
        To disable decoding entirely, use --no-itrace.