mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-18 22:03:11 -04:00
@@ -50,7 +50,7 @@ type FailureData struct {
|
||||
|
||||
func FailureDataWithGoroutines(description string) FailureData {
|
||||
var buf *strings.Builder
|
||||
pprof.NewProfile("goroutine").WriteTo(buf, 1)
|
||||
pprof.Lookup("goroutine").WriteTo(buf, 1)
|
||||
return FailureData{
|
||||
Description: description,
|
||||
Goroutines: buf.String(),
|
||||
|
||||
Reference in New Issue
Block a user