Home
last modified time | relevance | path

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

/tools/testing/selftests/powerpc/pmu/
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()