diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-07-17 12:33:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-08-21 10:40:44 -0400 |
commit | 60b88d8743892218f82048a3df624f5fc5460843 (patch) | |
tree | 82010827ca6ea3a2d337b5d003b8a3623e287da2 /tools | |
parent | d0170af7004dce9cd90b749842c37e379476cbc8 (diff) |
perf tools: Put itrace options into an asciidoc include
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/Documentation/itrace.txt | 22 | ||||
-rw-r--r-- | tools/perf/Documentation/perf-inject.txt | 23 | ||||
-rw-r--r-- | tools/perf/Documentation/perf-report.txt | 23 | ||||
-rw-r--r-- | tools/perf/Documentation/perf-script.txt | 23 |
4 files changed, 25 insertions, 66 deletions
diff --git a/tools/perf/Documentation/itrace.txt b/tools/perf/Documentation/itrace.txt new file mode 100644 index 000000000000..2ff946677e3b --- /dev/null +++ b/tools/perf/Documentation/itrace.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | i synthesize instructions events | ||
2 | b synthesize branches events | ||
3 | c synthesize branches events (calls only) | ||
4 | r synthesize branches events (returns only) | ||
5 | x synthesize transactions events | ||
6 | e synthesize error events | ||
7 | d create a debug log | ||
8 | g synthesize a call chain (use with i or x) | ||
9 | |||
10 | The default is all events i.e. the same as --itrace=ibxe | ||
11 | |||
12 | In addition, the period (default 100000) for instructions events | ||
13 | can be specified in units of: | ||
14 | |||
15 | i instructions | ||
16 | t ticks | ||
17 | ms milliseconds | ||
18 | us microseconds | ||
19 | ns nanoseconds (default) | ||
20 | |||
21 | Also the call chain size (default 16, max. 1024) for instructions or | ||
22 | transactions events can be specified. | ||
diff --git a/tools/perf/Documentation/perf-inject.txt b/tools/perf/Documentation/perf-inject.txt index b876ae312699..0c721c3e37e1 100644 --- a/tools/perf/Documentation/perf-inject.txt +++ b/tools/perf/Documentation/perf-inject.txt | |||
@@ -48,28 +48,7 @@ OPTIONS | |||
48 | Decode Instruction Tracing data, replacing it with synthesized events. | 48 | Decode Instruction Tracing data, replacing it with synthesized events. |
49 | Options are: | 49 | Options are: |
50 | 50 | ||
51 | i synthesize instructions events | 51 | include::itrace.txt[] |
52 | b synthesize branches events | ||
53 | c synthesize branches events (calls only) | ||
54 | r synthesize branches events (returns only) | ||
55 | x synthesize transactions events | ||
56 | e synthesize error events | ||
57 | d create a debug log | ||
58 | g synthesize a call chain (use with i or x) | ||
59 | |||
60 | The default is all events i.e. the same as --itrace=ibxe | ||
61 | |||
62 | In addition, the period (default 100000) for instructions events | ||
63 | can be specified in units of: | ||
64 | |||
65 | i instructions | ||
66 | t ticks | ||
67 | ms milliseconds | ||
68 | us microseconds | ||
69 | ns nanoseconds (default) | ||
70 | |||
71 | Also the call chain size (default 16, max. 1024) for instructions or | ||
72 | transactions events can be specified. | ||
73 | 52 | ||
74 | SEE ALSO | 53 | SEE ALSO |
75 | -------- | 54 | -------- |
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index a18ba757a0ed..9c7981bfddad 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt | |||
@@ -331,28 +331,7 @@ OPTIONS | |||
331 | --itrace:: | 331 | --itrace:: |
332 | Options for decoding instruction tracing data. The options are: | 332 | Options for decoding instruction tracing data. The options are: |
333 | 333 | ||
334 | i synthesize instructions events | 334 | include::itrace.txt[] |
335 | b synthesize branches events | ||
336 | c synthesize branches events (calls only) | ||
337 | r synthesize branches events (returns only) | ||
338 | x synthesize transactions events | ||
339 | e synthesize error events | ||
340 | d create a debug log | ||
341 | g synthesize a call chain (use with i or x) | ||
342 | |||
343 | The default is all events i.e. the same as --itrace=ibxe | ||
344 | |||
345 | In addition, the period (default 100000) for instructions events | ||
346 | can be specified in units of: | ||
347 | |||
348 | i instructions | ||
349 | t ticks | ||
350 | ms milliseconds | ||
351 | us microseconds | ||
352 | ns nanoseconds (default) | ||
353 | |||
354 | Also the call chain size (default 16, max. 1024) for instructions or | ||
355 | transactions events can be specified. | ||
356 | 335 | ||
357 | To disable decoding entirely, use --no-itrace. | 336 | To disable decoding entirely, use --no-itrace. |
358 | 337 | ||
diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt index 8e9be1f9c1dd..c0d24791a7f3 100644 --- a/tools/perf/Documentation/perf-script.txt +++ b/tools/perf/Documentation/perf-script.txt | |||
@@ -235,28 +235,7 @@ OPTIONS | |||
235 | --itrace:: | 235 | --itrace:: |
236 | Options for decoding instruction tracing data. The options are: | 236 | Options for decoding instruction tracing data. The options are: |
237 | 237 | ||
238 | i synthesize instructions events | 238 | include::itrace.txt[] |
239 | b synthesize branches events | ||
240 | c synthesize branches events (calls only) | ||
241 | r synthesize branches events (returns only) | ||
242 | x synthesize transactions events | ||
243 | e synthesize error events | ||
244 | d create a debug log | ||
245 | g synthesize a call chain (use with i or x) | ||
246 | |||
247 | The default is all events i.e. the same as --itrace=ibxe | ||
248 | |||
249 | In addition, the period (default 100000) for instructions events | ||
250 | can be specified in units of: | ||
251 | |||
252 | i instructions | ||
253 | t ticks | ||
254 | ms milliseconds | ||
255 | us microseconds | ||
256 | ns nanoseconds (default) | ||
257 | |||
258 | Also the call chain size (default 16, max. 1024) for instructions or | ||
259 | transactions events can be specified. | ||
260 | 239 | ||
261 | To disable decoding entirely, use --no-itrace. | 240 | To disable decoding entirely, use --no-itrace. |
262 | 241 | ||