Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dperf-hooks.c23 if (!(desc && desc->p_hook_func && *desc->p_hook_func)) in perf_hooks__invoke()
29 *(current_perf_hook->p_hook_func) = NULL; in perf_hooks__invoke()
32 (**desc->p_hook_func)(desc->hook_ctx); in perf_hooks__invoke()
47 .p_hook_func = &__perf_hook_func_##name, \
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()
87 return *(perf_hooks[i]->p_hook_func); in perf_hooks__get_hook()
Dperf-hooks.h12 perf_hook_func_t * const p_hook_func; member