weaveworks / tcptracer-bpf

eBPF program using kprobes to trace TCP events without run-time compilation dependencies
Apache License 2.0
410 stars 61 forks source link

tracer: stop goroutines on `tracer.Stop()` #29

Closed schu closed 7 years ago

schu commented 7 years ago

https://github.com/weaveworks/tcptracer-bpf/blob/master/pkg/tracer/tracer.go#L64-L76 should be stopped as well when we stop polling.