On Tuesday, October 11, 2016 at 7:21:17 AM UTC-7, xavier zebier wrote: > > C:\repo\gonew\src\github.com\tixu\trace>go tool trace Trace > 2016-10-11T153554.out > 2016/10/11 15:36:45 Parsing trace... > failed to parse trace: no EvFrequency event > > Can you help me .? > > Thanks in advance, > > Xavier >
I ran into the same error. AFAICT that error means your trace file is missing a footer. The code in this playground link[1] starts a TCP server on port 9999. If you run (sleep 5; echo "ok") | nc localhost 9999 > out.trace, you'll correctly read an entire trace file which will open successfully with go tool trace. OTOH if you just run nc localhost 9999 > out.trace and then hit ctrl-c, you'll see the "no EvFrequency event" error when you visit (most of) the routes from go tool trace's server. [1] https://play.golang.org/p/8mDkr_T9hE -- 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.