blob: a48c94435c8bd43fd58840a01027a706f19e0b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//+build ignore
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
#include "types.h"
#include "maps.h"
#include "flags.h"
/**
* Including .c files, as linking several .o files into one single .o file doesn't work
* with shared BPF state such as ring buffers, maps and globals so well. Other BPF projects
* come along with one huuuuughe .c file with all the BPF code in it. I am rather
* splitting the code up into several smaller files.
*/
#include "filter.c"
#include "tracepoints/open.c"
#include "tracepoints/close.c"
#include "tracepoints/write.c"
char LICENSE[] SEC("license") = "Dual BSD/GPL";
|