Hello, I want to use blocking profiler in my go application. I use go1.10. My applcation is running as docker instance?.
I include the following code into my application. f,err :=os.Create("/tmp/test_blocking.prof") if err != nil { log.WithError(err).Fatal("creation of blocking profiler file is failed" ) } runtime.SetBlockProfileRate(1) if err := pprof.Lookup("block").WriteTo(f,1); err !=nil { log.WithError(err).Fatal("blocking profiler statistic collecition initialization failed") } defer f.Close() I got the prof file, there is no data. Where is wrong? Thanks Sothy -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.