logoalt Hacker News

Tracing Goroutines in Realtime with eBPF

46 pointsby darcciolast Thursday at 12:01 PM5 commentsview on HN

Comments

broken_broken_today at 4:42 PM

Interesting to see an ebpf approach to this idea, some time ago I did the same with Dtrace: https://gaultier.github.io/blog/detecting_goroutine_leaks_wi...

However I did not think of observing the ‘castgstatus’ runtime function.

Always nice to be able to compare the DTrace and Ebpf approaches, they both have different strong points.

truenotoday at 5:13 PM

that is actually sick.

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.

xtoilettetoday at 4:38 PM

Cool! is there something similar for async rust ?

show 1 reply
tsuzutoday at 4:54 PM

So cool! Does it support multiple Go versions?

darshil2023today at 7:18 PM

[dead]