Linux Perf
|
Go to the source code of this file.
Classes | |
struct | bpf_map_def |
Macros | |
#define | BPF_ANY 0 |
#define | BPF_MAP_TYPE_ARRAY 2 |
#define | BPF_FUNC_map_lookup_elem 1 |
#define | BPF_FUNC_map_update_elem 2 |
#define | SEC(NAME) __attribute__((section(NAME), used)) |
Functions | |
struct bpf_map_def | SEC ("maps") |
int | bpf_func__SyS_epoll_pwait (void *ctx) |
char _license [] | SEC ("license") |
int _version | SEC ("version") |
Variables | |
static void *(* | bpf_map_lookup_elem )(void *map, void *key) |
static void *(* | bpf_map_update_elem )(void *map, void *key, void *value, int flags) |
#define BPF_ANY 0 |
Definition at line 9 of file bpf-script-example.c.
#define BPF_FUNC_map_lookup_elem 1 |
Definition at line 11 of file bpf-script-example.c.
#define BPF_FUNC_map_update_elem 2 |
Definition at line 12 of file bpf-script-example.c.
#define BPF_MAP_TYPE_ARRAY 2 |
Definition at line 10 of file bpf-script-example.c.
#define SEC | ( | NAME | ) | __attribute__((section(NAME), used)) |
Definition at line 26 of file bpf-script-example.c.
int bpf_func__SyS_epoll_pwait | ( | void * | ctx | ) |
Definition at line 35 of file bpf-script-example.c.
struct bpf_map_def SEC | ( | "maps" | ) |
Definition at line 27 of file bpf-script-example.c.
char _license [] SEC | ( | "license" | ) |
int _version SEC | ( | "version" | ) |
Definition at line 14 of file bpf-script-example.c.
Definition at line 16 of file bpf-script-example.c.