Searched refs:perf_hooks (Results 1 – 3 of 3) sorted by relevance
55 static struct perf_hook_desc *perf_hooks[] = { variable66 for (i = 0; i < ARRAY_SIZE(perf_hooks); i++) { in perf_hooks__set_hook()67 if (strcmp(hook_name, perf_hooks[i]->hook_name) != 0) in perf_hooks__set_hook()70 if (*(perf_hooks[i]->p_hook_func)) in perf_hooks__set_hook()72 *(perf_hooks[i]->p_hook_func) = hook_func; in perf_hooks__set_hook()73 perf_hooks[i]->hook_ctx = hook_ctx; in perf_hooks__set_hook()83 for (i = 0; i < ARRAY_SIZE(perf_hooks); i++) { in perf_hooks__get_hook()84 if (strcmp(hook_name, perf_hooks[i]->hook_name) != 0) in perf_hooks__get_hook()87 return *(perf_hooks[i]->p_hook_func); in perf_hooks__get_hook()
49 DEFINE_SUITE("perf hooks", perf_hooks);
133 DECLARE_SUITE(perf_hooks);