...

Source file src/github.com/cilium/ebpf/cmd/bpf2go/test/doc.go

Documentation: github.com/cilium/ebpf/cmd/bpf2go/test

     1  // Package test checks that the code generated by bpf2go conforms to a
     2  // specific API.
     3  package test
     4  
     5  // $BPF_CLANG and $BPF_CFLAGS are set by the Makefile.
     6  //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -cc $BPF_CLANG test ../testdata/minimal.c
     7  

View as plain text