feat(go): advance validation sidecar toward production
This commit is contained in:
parent
6a06eba255
commit
f85c2e831a
92 changed files with 8881 additions and 91 deletions
9
go-agent/internal/ebpfsource/generate.go
Normal file
9
go-agent/internal/ebpfsource/generate.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
package ebpfsource
|
||||
|
||||
// Generate checked-in object bindings so normal builds need neither clang nor
|
||||
// kernel headers. The tracepoint ABI is stable and avoids host-specific
|
||||
// generated vmlinux.h while the loader remains pure Go.
|
||||
//go:generate go run github.com/cilium/ebpf/cmd/bpf2go@v0.22.0 -cc clang -cflags "-O2 -g -Wall -Werror" exec bpf/exec.bpf.c
|
||||
//go:generate go run github.com/cilium/ebpf/cmd/bpf2go@v0.22.0 -cc clang -cflags "-O2 -g -Wall -Werror" syscall bpf/syscall.bpf.c
|
||||
Loading…
Add table
Add a link
Reference in a new issue