diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-19 10:31:59 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-19 10:31:59 +0200 |
| commit | 88483511d71a4f74e03580866be73769c407beee (patch) | |
| tree | 6ce4e4db1f5c2f6a22e75da9b2bbc4ca20ed14dc /internal/c/maps.h | |
| parent | 5b29c78a69f4484995b7ceeabac9bcf538329697 (diff) | |
move all C code to internal/c
Diffstat (limited to 'internal/c/maps.h')
| -rw-r--r-- | internal/c/maps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/c/maps.h b/internal/c/maps.h new file mode 100644 index 0000000..7ec871c --- /dev/null +++ b/internal/c/maps.h @@ -0,0 +1,6 @@ +//+build ignore + +struct { + __uint(type, BPF_MAP_TYPE_RINGBUF); + __uint(max_entries, 1 << 24); +} event_map SEC(".maps"); |
