#include <errno.h>
#include <stdlib.h>
#include <setjmp.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include "util/util.h"
#include "util/debug.h"
#include "util/perf-hooks.h"
#include "perf-hooks-list.h"
Go to the source code of this file.
◆ PERF_HOOK [1/2]
#define PERF_HOOK |
( |
|
name | ) |
|
Value: .p_hook_func = &__perf_hook_func_##
name, \
.hook_ctx = NULL};
void(* perf_hook_func_t)(void *ctx)
Definition at line 52 of file perf-hooks.c.
◆ PERF_HOOK [2/2]
#define PERF_HOOK |
( |
|
name | ) |
&__perf_hook_desc_##name, |
◆ perf_hooks__get_hook()
◆ perf_hooks__invoke()
◆ perf_hooks__recover()
void perf_hooks__recover |
( |
void |
| ) |
|
◆ perf_hooks__set_hook()
int perf_hooks__set_hook |
( |
const char * |
hook_name, |
|
|
perf_hook_func_t |
hook_func, |
|
|
void * |
hook_ctx |
|
) |
| |
◆ current_perf_hook
◆ jmpbuf
◆ perf_hooks