Open
Description
What version of Go are you using (go version
)?
$ go version 1.21.3
What did you do?
when collecting all goroutine call traces for debug purposes (e.g. using gops tool) one expects to see labels associated with goroutines. However, writeGoroutine() with debug>=2 which calls writeGoroutineStacks() do not provide them.
Yet legacy call traces provided with debug<2 in call like this:
pprof.Lookup("goroutine").WriteTo(conn, 1)
provide goroutine labels.
What did you expect to see?
goroutines stacks with labels.
What did you see instead?
goroutines stacks without labels.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress