Linux Perf
|
#include "perf-hooks-list.h"
Go to the source code of this file.
Classes | |
struct | perf_hook_desc |
Macros | |
#define | PERF_HOOK(name) |
Typedefs | |
typedef void(* | perf_hook_func_t) (void *ctx) |
Functions | |
void | perf_hooks__invoke (const struct perf_hook_desc *) |
void | perf_hooks__recover (void) |
int | perf_hooks__set_hook (const char *hook_name, perf_hook_func_t hook_func, void *hook_ctx) |
perf_hook_func_t | perf_hooks__get_hook (const char *hook_name) |
#define PERF_HOOK | ( | name | ) |
Definition at line 19 of file perf-hooks.h.
typedef void(* perf_hook_func_t) (void *ctx) |
Definition at line 9 of file perf-hooks.h.
perf_hook_func_t perf_hooks__get_hook | ( | const char * | hook_name | ) |
Definition at line 79 of file perf-hooks.c.
void perf_hooks__invoke | ( | const struct perf_hook_desc * | ) |
Definition at line 21 of file perf-hooks.c.
void perf_hooks__recover | ( | void | ) |
Definition at line 37 of file perf-hooks.c.
int perf_hooks__set_hook | ( | const char * | hook_name, |
perf_hook_func_t | hook_func, | ||
void * | hook_ctx | ||
) |
Definition at line 60 of file perf-hooks.c.