Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 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 |
Adrian Hunter | 3bdafdf | 2017-05-26 11:17:24 +0300 | [diff] [blame] | 6 | w synthesize ptwrite events |
Adrian Hunter | 70d110d | 2017-05-26 11:17:25 +0300 | [diff] [blame] | 7 | p synthesize power events |
Adrian Hunter | 181ebb5 | 2019-08-06 11:46:03 +0300 | [diff] [blame] | 8 | o synthesize other events recorded due to the use |
| 9 | of aux-output (refer to perf record) |
Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 10 | e synthesize error events |
| 11 | d create a debug log |
| 12 | g synthesize a call chain (use with i or x) |
Adrian Hunter | 1c5c25b | 2020-04-01 13:16:05 +0300 | [diff] [blame] | 13 | G synthesize a call chain on existing event records |
Adrian Hunter | 601897b | 2015-09-25 16:15:39 +0300 | [diff] [blame] | 14 | l synthesize last branch entries (use with i or x) |
Adrian Hunter | ec90e42 | 2020-04-29 18:07:46 +0300 | [diff] [blame] | 15 | L synthesize last branch entries on existing event records |
Andi Kleen | d1706b3 | 2016-03-28 10:45:38 -0700 | [diff] [blame] | 16 | s skip initial number of events |
Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 17 | |
Andi Kleen | 4eb0681 | 2018-09-20 11:05:37 -0700 | [diff] [blame] | 18 | The default is all events i.e. the same as --itrace=ibxwpe, |
| 19 | except for perf script where it is --itrace=ce |
Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 20 | |
Andi Kleen | 4eb0681 | 2018-09-20 11:05:37 -0700 | [diff] [blame] | 21 | In addition, the period (default 100000, except for perf script where it is 1) |
| 22 | for instructions events can be specified in units of: |
Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 23 | |
| 24 | i instructions |
| 25 | t ticks |
| 26 | ms milliseconds |
| 27 | us microseconds |
| 28 | ns nanoseconds (default) |
| 29 | |
| 30 | Also the call chain size (default 16, max. 1024) for instructions or |
| 31 | transactions events can be specified. |
Adrian Hunter | 601897b | 2015-09-25 16:15:39 +0300 | [diff] [blame] | 32 | |
| 33 | Also the number of last branch entries (default 64, max. 1024) for |
| 34 | instructions or transactions events can be specified. |
Andi Kleen | d1706b3 | 2016-03-28 10:45:38 -0700 | [diff] [blame] | 35 | |
Adrian Hunter | 43358d9 | 2020-04-29 18:07:50 +0300 | [diff] [blame] | 36 | Similar to options g and l, size may also be specified for options G and L. |
| 37 | On x86, note that G and L work poorly when data has been recorded with |
| 38 | large PEBS. Refer linkperf:perf-intel-pt[1] man page for details. |
| 39 | |
Adrian Hunter | 3bdafdf | 2017-05-26 11:17:24 +0300 | [diff] [blame] | 40 | It is also possible to skip events generated (instructions, branches, transactions, |
Adrian Hunter | 70d110d | 2017-05-26 11:17:25 +0300 | [diff] [blame] | 41 | ptwrite, power) at the beginning. This is useful to ignore initialization code. |
Andi Kleen | d1706b3 | 2016-03-28 10:45:38 -0700 | [diff] [blame] | 42 | |
| 43 | --itrace=i0nss1000000 |
| 44 | |
| 45 | skips the first million instructions. |