Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dperf-hooks.c28 desc->hook_name); in perf_hooks__invoke()
46 {.hook_name = #name, \
60 int perf_hooks__set_hook(const char *hook_name, in perf_hooks__set_hook() argument
67 if (strcmp(hook_name, perf_hooks[i]->hook_name) != 0) in perf_hooks__set_hook()
71 pr_warning("Overwrite existing hook: %s\n", hook_name); in perf_hooks__set_hook()
79 perf_hook_func_t perf_hooks__get_hook(const char *hook_name) in perf_hooks__get_hook() argument
84 if (strcmp(hook_name, perf_hooks[i]->hook_name) != 0) in perf_hooks__get_hook()
Dperf-hooks.h11 const char * const hook_name; member
30 perf_hooks__set_hook(const char *hook_name,
35 perf_hooks__get_hook(const char *hook_name);