4 ms·
Definitely seems like a useful tool...being in java definitely is a bummer though, makes it harder to integrate into the ecosystem. I wish the go runtime would
by chrsig 4y ago
Definitely seems like a useful tool...being in java definitely is a bummer though, makes it harder to integrate into the ecosystem.
I wish the go runtime would allow adding annotations to stack frames. just something simple to attach key/value pairs to a frame, or something. Enough to give the goroutine a name.
runtime/trace gets close to it by annotating the context with a task/region, but if the trace hadn't been started before the task starts, then it's not going to show up anywhere.