Searched refs:setup_event (Results 1 – 1 of 1) sorted by relevance
19 static void setup_event(struct event *e, u64 config, char *name) in setup_event() function99 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()