Home
last modified time | relevance | path

Searched refs:setup_event (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/tools/testing/selftests/powerpc/security/
Dspectre_v2.c64 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()
/linux-5.19.10/tools/testing/selftests/powerpc/pmu/
Dcount_stcx_fail.c19 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()
Dcount_instructions.c19 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()
/linux-5.19.10/tools/bootconfig/scripts/
Dbconf2ftrace.sh183 setup_event() { # prefix group event [instance] function
221 setup_event $prefix ${grpev%.*} ${grpev#*.} $2