blob: c2182cbabde3a07196b26e44a3a8c6a0165d3cb4 [file] [log] [blame]
Adrian Hunter60b88d82015-07-17 19:33:44 +03001 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
Adrian Hunter3bdafdf2017-05-26 11:17:24 +03006 w synthesize ptwrite events
Adrian Hunter70d110d2017-05-26 11:17:25 +03007 p synthesize power events
Adrian Hunter60b88d82015-07-17 19:33:44 +03008 e synthesize error events
9 d create a debug log
10 g synthesize a call chain (use with i or x)
Adrian Hunter601897b2015-09-25 16:15:39 +030011 l synthesize last branch entries (use with i or x)
Andi Kleend1706b32016-03-28 10:45:38 -070012 s skip initial number of events
Adrian Hunter60b88d82015-07-17 19:33:44 +030013
Andi Kleen4eb06812018-09-20 11:05:37 -070014 The default is all events i.e. the same as --itrace=ibxwpe,
15 except for perf script where it is --itrace=ce
Adrian Hunter60b88d82015-07-17 19:33:44 +030016
Andi Kleen4eb06812018-09-20 11:05:37 -070017 In addition, the period (default 100000, except for perf script where it is 1)
18 for instructions events can be specified in units of:
Adrian Hunter60b88d82015-07-17 19:33:44 +030019
20 i instructions
21 t ticks
22 ms milliseconds
23 us microseconds
24 ns nanoseconds (default)
25
26 Also the call chain size (default 16, max. 1024) for instructions or
27 transactions events can be specified.
Adrian Hunter601897b2015-09-25 16:15:39 +030028
29 Also the number of last branch entries (default 64, max. 1024) for
30 instructions or transactions events can be specified.
Andi Kleend1706b32016-03-28 10:45:38 -070031
Adrian Hunter3bdafdf2017-05-26 11:17:24 +030032 It is also possible to skip events generated (instructions, branches, transactions,
Adrian Hunter70d110d2017-05-26 11:17:25 +030033 ptwrite, power) at the beginning. This is useful to ignore initialization code.
Andi Kleend1706b32016-03-28 10:45:38 -070034
35 --itrace=i0nss1000000
36
37 skips the first million instructions.