9 lines
529 B
Go
9 lines
529 B
Go
// 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
|