delve/pkg/proc/internal/ebpf
Alessandro Arzilli 5452c30fac
proc/internal/ebpf: drop dependency on cgo (#3072)
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
2022-07-22 19:39:18 +02:00
..
bpf pkg/proc: switch to Dual MIT/GPL license for ebpf (#2849) 2021-12-30 20:14:37 +01:00
build pkg/proc: add build scripts & docker image for ebpf (#2847) 2021-12-30 09:04:59 +01:00
testhelper proc/internal/ebpf: drop dependency on cgo (#3072) 2022-07-22 19:39:18 +02:00
context.go eBPF tracing backend return value parsing (#2704) 2021-10-25 12:37:36 -07:00
dummy.go proc: add dummy files to fix vendoring of Delve (#2807) 2021-12-07 09:20:10 -08:00
helpers_disabled.go proc/internal/ebpf: drop dependency on cgo (#3072) 2022-07-22 19:39:18 +02:00
helpers_test.go proc/internal/ebpf: drop dependency on cgo (#3072) 2022-07-22 19:39:18 +02:00
helpers.go proc/internal/ebpf: drop dependency on cgo (#3072) 2022-07-22 19:39:18 +02:00
trace_bpfel_x86.go *: Replace libbpfgo with cilium/ebpf (#2771) 2021-11-03 16:58:04 +01:00
trace_bpfel_x86.o pkg/proc: add build scripts & docker image for ebpf (#2847) 2021-12-30 09:04:59 +01:00