Apparently its very easy to collect execution tracer profile runtime.trace.Start (io.Writer) time.Sleep(N seconds) runtime.trace.Stop()
And to analyze/look at the collected profile go tool trace /path/to/your/app/executable <binary-trace-file-collected-above> On Monday, July 25, 2016 at 5:47:19 PM UTC-4, ajay aggarwal wrote: > > Thanks Ian. But Its not clear how to get execution trace from that > document (https://golang.org/s/go15trace). When I list profiles for my > application, I get following list > > block,goroutine,heap,threadcreate > > > And when I try to curl to http://my-app/debug/pprof/trace?seconds=30" for my > application, I get the error that no such profile. > > > How do I enable execution tracer profile for my app? > > > Thanks! > > > Ajay > > -- 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.