Searched refs:setup_event (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/powerpc/security/ |
D | spectre_v2.c | 64 static void setup_event(struct event *e, u64 config, char *name) in setup_event() function 145 setup_event(&events[0], PM_BR_PRED_CCACHE, "PM_BR_PRED_CCACHE"); in spectre_v2_test() 146 setup_event(&events[1], PM_BR_MPRED_CCACHE, "PM_BR_MPRED_CCACHE"); in spectre_v2_test() 154 setup_event(&events[2], PM_BR_PRED_PCACHE, "PM_BR_PRED_PCACHE"); in spectre_v2_test() 155 setup_event(&events[3], PM_BR_MPRED_PCACHE, "PM_BR_MPRED_PCACHE"); in spectre_v2_test()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
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()
|