The ebpf implementations uses cgo, but only to access some C struct definitions. Instead of using cgo simply duplicate the defintion of those two structs in Go and add a test to check that the duplicate definitions remain synchronized. Fixes #2827 |
||
|---|---|---|
| .. | ||
| bpf | ||
| build | ||
| testhelper | ||
| context.go | ||
| dummy.go | ||
| helpers_disabled.go | ||
| helpers_test.go | ||
| helpers.go | ||
| trace_bpfel_x86.go | ||
| trace_bpfel_x86.o | ||