Re: [go-nuts] Advice on Using Pure Go with eBPF

2024-08-14 Thread Mike Schinkel
I for one would really like to see Go or TinyGo find a way to target eBPF similar to how it can target WASM. -Mike > On Aug 14, 2024, at 4:40 PM, twp...@gmail.com wrote: > > For eBPF support in Go, see https://github.com/cilium/ebpf. > > AFAIK at the moment you can't compile Go to eBPF. The

Re: [go-nuts] Advice on Using Pure Go with eBPF

2024-08-13 Thread burak serdar
As far as I know, you cannot write ebpf code using Go. You can write C code for ebpf filters, and then use Go to install it and interface with it. Take a look at Cilium tools. You might also want to take a look at https://github.com/kubeshark/tracer. On Tue, Aug 13, 2024 at 4:55 PM Sharon Mafgaoke