Jiri Olsa | 149960a | 2012-10-30 23:02:03 +0100 | [diff] [blame] | 1 | [config] |
| 2 | command = stat |
| 3 | args = kill >/dev/null 2>&1 |
| 4 | ret = 1 |
| 5 | |
| 6 | # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_TASK_CLOCK |
| 7 | [event1:base-stat] |
| 8 | fd=1 |
| 9 | type=1 |
| 10 | config=1 |
| 11 | |
| 12 | # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CONTEXT_SWITCHES |
| 13 | [event2:base-stat] |
| 14 | fd=2 |
| 15 | type=1 |
| 16 | config=3 |
| 17 | |
| 18 | # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CPU_MIGRATIONS |
| 19 | [event3:base-stat] |
| 20 | fd=3 |
| 21 | type=1 |
| 22 | config=4 |
| 23 | |
| 24 | # PERF_TYPE_SOFTWARE / PERF_COUNT_SW_PAGE_FAULTS |
| 25 | [event4:base-stat] |
| 26 | fd=4 |
| 27 | type=1 |
| 28 | config=2 |
| 29 | |
| 30 | # PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES |
| 31 | [event5:base-stat] |
| 32 | fd=5 |
| 33 | type=0 |
| 34 | config=0 |
Jiri Olsa | 692f5a2 | 2017-10-09 15:07:12 +0200 | [diff] [blame] | 35 | optional=1 |
Jiri Olsa | 149960a | 2012-10-30 23:02:03 +0100 | [diff] [blame] | 36 | |
| 37 | # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND |
| 38 | [event6:base-stat] |
| 39 | fd=6 |
| 40 | type=0 |
| 41 | config=7 |
Jiri Olsa | 1f41873 | 2017-07-03 16:50:29 +0200 | [diff] [blame] | 42 | optional=1 |
Jiri Olsa | 149960a | 2012-10-30 23:02:03 +0100 | [diff] [blame] | 43 | |
| 44 | # PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND |
| 45 | [event7:base-stat] |
| 46 | fd=7 |
| 47 | type=0 |
| 48 | config=8 |
Jiri Olsa | 1f41873 | 2017-07-03 16:50:29 +0200 | [diff] [blame] | 49 | optional=1 |
Jiri Olsa | 149960a | 2012-10-30 23:02:03 +0100 | [diff] [blame] | 50 | |
| 51 | # PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS |
| 52 | [event8:base-stat] |
| 53 | fd=8 |
| 54 | type=0 |
| 55 | config=1 |
Jiri Olsa | 692f5a2 | 2017-10-09 15:07:12 +0200 | [diff] [blame] | 56 | optional=1 |
Jiri Olsa | 149960a | 2012-10-30 23:02:03 +0100 | [diff] [blame] | 57 | |
| 58 | # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS |
| 59 | [event9:base-stat] |
| 60 | fd=9 |
| 61 | type=0 |
| 62 | config=4 |
Jiri Olsa | 692f5a2 | 2017-10-09 15:07:12 +0200 | [diff] [blame] | 63 | optional=1 |
Jiri Olsa | 149960a | 2012-10-30 23:02:03 +0100 | [diff] [blame] | 64 | |
| 65 | # PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES |
| 66 | [event10:base-stat] |
| 67 | fd=10 |
| 68 | type=0 |
| 69 | config=5 |
Jiri Olsa | 692f5a2 | 2017-10-09 15:07:12 +0200 | [diff] [blame] | 70 | optional=1 |