mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
parent
a5bbb500e6
commit
e1bf1e672e
@ -50,7 +50,7 @@ type FailureData struct {
|
|||||||
|
|
||||||
func FailureDataWithGoroutines(description string) FailureData {
|
func FailureDataWithGoroutines(description string) FailureData {
|
||||||
var buf *strings.Builder
|
var buf *strings.Builder
|
||||||
pprof.NewProfile("goroutine").WriteTo(buf, 1)
|
pprof.Lookup("goroutine").WriteTo(buf, 1)
|
||||||
return FailureData{
|
return FailureData{
|
||||||
Description: description,
|
Description: description,
|
||||||
Goroutines: buf.String(),
|
Goroutines: buf.String(),
|
||||||
|
Loading…
Reference in New Issue
Block a user