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 | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 8 | e synthesize error events |
| 9 | d create a debug log |
| 10 | g synthesize a call chain (use with i or x) |
Adrian Hunter | 601897b | 2015-09-25 16:15:39 +0300 | [diff] [blame] | 11 | l synthesize last branch entries (use with i or x) |
Andi Kleen | d1706b3 | 2016-03-28 10:45:38 -0700 | [diff] [blame] | 12 | s skip initial number of events |
Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 13 | |
Adrian Hunter | 70d110d | 2017-05-26 11:17:25 +0300 | [diff] [blame^] | 14 | The default is all events i.e. the same as --itrace=ibxwpe |
Adrian Hunter | 60b88d8 | 2015-07-17 19:33:44 +0300 | [diff] [blame] | 15 | |
| 16 | In addition, the period (default 100000) for instructions events |
| 17 | can be specified in units of: |
| 18 | |
| 19 | i instructions |
| 20 | t ticks |
| 21 | ms milliseconds |
| 22 | us microseconds |
| 23 | ns nanoseconds (default) |
| 24 | |
| 25 | Also the call chain size (default 16, max. 1024) for instructions or |
| 26 | transactions events can be specified. |
Adrian Hunter | 601897b | 2015-09-25 16:15:39 +0300 | [diff] [blame] | 27 | |
| 28 | Also the number of last branch entries (default 64, max. 1024) for |
| 29 | instructions or transactions events can be specified. |
Andi Kleen | d1706b3 | 2016-03-28 10:45:38 -0700 | [diff] [blame] | 30 | |
Adrian Hunter | 3bdafdf | 2017-05-26 11:17:24 +0300 | [diff] [blame] | 31 | It is also possible to skip events generated (instructions, branches, transactions, |
Adrian Hunter | 70d110d | 2017-05-26 11:17:25 +0300 | [diff] [blame^] | 32 | ptwrite, power) at the beginning. This is useful to ignore initialization code. |
Andi Kleen | d1706b3 | 2016-03-28 10:45:38 -0700 | [diff] [blame] | 33 | |
| 34 | --itrace=i0nss1000000 |
| 35 | |
| 36 | skips the first million instructions. |