1What: /sys/devices/cpu/events/ 2 /sys/devices/cpu/events/branch-misses 3 /sys/devices/cpu/events/cache-references 4 /sys/devices/cpu/events/cache-misses 5 /sys/devices/cpu/events/stalled-cycles-frontend 6 /sys/devices/cpu/events/branch-instructions 7 /sys/devices/cpu/events/stalled-cycles-backend 8 /sys/devices/cpu/events/instructions 9 /sys/devices/cpu/events/cpu-cycles 10 11Date: 2013/01/08 12 13Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 14 15Description: Generic performance monitoring events 16 17 A collection of performance monitoring events that may be 18 supported by many/most CPUs. These events can be monitored 19 using the 'perf(1)' tool. 20 21 The contents of each file would look like: 22 23 event=0xNNNN 24 25 where 'N' is a hex digit and the number '0xNNNN' shows the 26 "raw code" for the perf event identified by the file's 27 "basename". 28 29 30What: /sys/devices/cpu/events/PM_1PLUS_PPC_CMPL 31 /sys/devices/cpu/events/PM_BRU_FIN 32 /sys/devices/cpu/events/PM_BR_MPRED 33 /sys/devices/cpu/events/PM_CMPLU_STALL 34 /sys/devices/cpu/events/PM_CMPLU_STALL_BRU 35 /sys/devices/cpu/events/PM_CMPLU_STALL_DCACHE_MISS 36 /sys/devices/cpu/events/PM_CMPLU_STALL_DFU 37 /sys/devices/cpu/events/PM_CMPLU_STALL_DIV 38 /sys/devices/cpu/events/PM_CMPLU_STALL_ERAT_MISS 39 /sys/devices/cpu/events/PM_CMPLU_STALL_FXU 40 /sys/devices/cpu/events/PM_CMPLU_STALL_IFU 41 /sys/devices/cpu/events/PM_CMPLU_STALL_LSU 42 /sys/devices/cpu/events/PM_CMPLU_STALL_REJECT 43 /sys/devices/cpu/events/PM_CMPLU_STALL_SCALAR 44 /sys/devices/cpu/events/PM_CMPLU_STALL_SCALAR_LONG 45 /sys/devices/cpu/events/PM_CMPLU_STALL_STORE 46 /sys/devices/cpu/events/PM_CMPLU_STALL_THRD 47 /sys/devices/cpu/events/PM_CMPLU_STALL_VECTOR 48 /sys/devices/cpu/events/PM_CMPLU_STALL_VECTOR_LONG 49 /sys/devices/cpu/events/PM_CYC 50 /sys/devices/cpu/events/PM_GCT_NOSLOT_BR_MPRED 51 /sys/devices/cpu/events/PM_GCT_NOSLOT_BR_MPRED_IC_MISS 52 /sys/devices/cpu/events/PM_GCT_NOSLOT_CYC 53 /sys/devices/cpu/events/PM_GCT_NOSLOT_IC_MISS 54 /sys/devices/cpu/events/PM_GRP_CMPL 55 /sys/devices/cpu/events/PM_INST_CMPL 56 /sys/devices/cpu/events/PM_LD_MISS_L1 57 /sys/devices/cpu/events/PM_LD_REF_L1 58 /sys/devices/cpu/events/PM_RUN_CYC 59 /sys/devices/cpu/events/PM_RUN_INST_CMPL 60 61Date: 2013/01/08 62 63Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 64 Linux Powerpc mailing list <linuxppc-dev@ozlabs.org> 65 66Description: POWER-systems specific performance monitoring events 67 68 A collection of performance monitoring events that may be 69 supported by the POWER CPU. These events can be monitored 70 using the 'perf(1)' tool. 71 72 These events may not be supported by other CPUs. 73 74 The contents of each file would look like: 75 76 event=0xNNNN 77 78 where 'N' is a hex digit and the number '0xNNNN' shows the 79 "raw code" for the perf event identified by the file's 80 "basename". 81 82 Further, multiple terms like 'event=0xNNNN' can be specified 83 and separated with comma. All available terms are defined in 84 the /sys/bus/event_source/devices/<dev>/format file. 85