|
SeaBee
|
#include <bpf/vmlinux.h>#include <bpf/bpf_helpers.h>#include <bpf/bpf_tracing.h>
Data Structures | |
| struct | seabee_test_log_entry |
Macros | |
| #define | LOG_SIZE 128 |
| #define | ALLOW 0 |
Functions | |
| int | test_seabee (struct file *file,) |
| used for testing | |
Variables | ||
| char | LICENSE [] = "GPL" | |
| License of the BPF program. | ||
| u32 | count = 0 | |
| struct { | ||
| unsigned int type = BPF_MAP_TYPE_RINGBUF | ||
| unsigned int max_entries = 4096 | ||
| } | ringbuf | |