Tracing Goroutines in Realtime with eBPF
by darccio on 4/2/2026, 12:01:27 PM
https://sazak.io/articles/tracing-goroutines-in-realtime-with-ebpf-2026-03-31
Comments
by: broken_broken_
Interesting to see an ebpf approach to this idea, some time ago I did the same with Dtrace: <a href="https://gaultier.github.io/blog/detecting_goroutine_leaks_with_dtrace.html" rel="nofollow">https://gaultier.github.io/blog/detecting_goroutine_leaks_wi...</a><p>However I did not think of observing the ‘castgstatus’ runtime function.<p>Always nice to be able to compare the DTrace and Ebpf approaches, they both have different strong points.
4/5/2026, 4:42:25 PM
by: trueno
that is actually sick.<p>how common is it for go devs to experience leaking goroutines ? id like to think go is a lot less shoot yourself in the foot here since they provide a framework for concurrency/parallelism rather than you working with the tiny pieces of it and building out the architecture yourself, but ive only needed to use goroutines once and it was a pretty problem-free experience.
4/5/2026, 5:13:36 PM
by: xtoilette
Cool! is there something similar for async rust ?
4/5/2026, 4:38:07 PM
by: tsuzu
So cool! Does it support multiple Go versions?
4/5/2026, 4:54:37 PM