summaryrefslogtreecommitdiff
path: root/cmd/bpf/gen.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bpf/gen.go')
-rw-r--r--cmd/bpf/gen.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/bpf/gen.go b/cmd/bpf/gen.go
new file mode 100644
index 0000000..c90c0a7
--- /dev/null
+++ b/cmd/bpf/gen.go
@@ -0,0 +1,3 @@
+package main
+
+//go:generate go run github.com/cilium/ebpf/cmd/bpf2go -target bpfel bpf bpf_usage.c