/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 64 static void setup_event(struct event *e, u64 config, char *name) in setup_event() function 148 setup_event(&events[0], PM_BR_PRED_CCACHE, "PM_BR_PRED_CCACHE"); in spectre_v2_test() 149 setup_event(&events[1], PM_BR_MPRED_CCACHE, "PM_BR_MPRED_CCACHE"); in spectre_v2_test() 157 setup_event(&events[2], PM_BR_PRED_PCACHE, "PM_BR_PRED_PCACHE"); in spectre_v2_test() 158 setup_event(&events[3], PM_BR_MPRED_PCACHE, "PM_BR_MPRED_PCACHE"); in spectre_v2_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/security/ |
H A D | spectre_v2.c | 64 static void setup_event(struct event *e, u64 config, char *name) in setup_event() function 146 setup_event(&events[0], PM_BR_PRED_CCACHE, "PM_BR_PRED_CCACHE"); in spectre_v2_test() 147 setup_event(&events[1], PM_BR_MPRED_CCACHE, "PM_BR_MPRED_CCACHE"); in spectre_v2_test() 155 setup_event(&events[2], PM_BR_PRED_PCACHE, "PM_BR_PRED_PCACHE"); in spectre_v2_test() 156 setup_event(&events[3], PM_BR_MPRED_PCACHE, "PM_BR_MPRED_PCACHE"); in spectre_v2_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 19 static void setup_event(struct event *e, u64 config, int type, char *name) in setup_event() function 110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions"); in test_body() 111 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "cycles"); in test_body() 112 setup_event(&events[2], PM_STCX_FAIL, PERF_TYPE_RAW, "stcx_fail"); in test_body()
|
H A D | count_instructions.c | 19 static void setup_event(struct event *e, u64 config, char *name) in setup_event() function 99 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); in test_body() 100 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, "cycles"); in test_body()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 19 static void setup_event(struct event *e, u64 config, int type, char *name) in setup_event() function 110 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, PERF_TYPE_HARDWARE, "instructions"); in test_body() 111 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "cycles"); in test_body() 112 setup_event(&events[2], PM_STCX_FAIL, PERF_TYPE_RAW, "stcx_fail"); in test_body()
|
H A D | count_instructions.c | 19 static void setup_event(struct event *e, u64 config, char *name) in setup_event() function 99 setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); in test_body() 100 setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, "cycles"); in test_body()
|
/kernel/linux/linux-5.10/tools/bootconfig/scripts/ |
H A D | bconf2ftrace.sh | 97 setup_event() { # prefix group event [instance] function 127 setup_event $prefix ${grpev%.*} ${grpev#*.} $2
|
/kernel/linux/linux-6.6/tools/bootconfig/scripts/ |
H A D | bconf2ftrace.sh | 183 setup_event() { # prefix group event [instance] function 221 setup_event $prefix ${grpev%.*} ${grpev#*.} $2
|