From: Rob Pike
-Details of the new collector were presented in TODO: GopherCon talk. +Details of the new collector were presented in a +talk at GopherCon 2015.
+A new tool is available for dynamic execution tracing of Go programs.
+The usage is analogous to how the test coverage tool works.
+Generation of traces is integrated into go test
,
+and then a separate execution of the tracing tool itself analyzes the results:
+
-TODO -cmd/trace: new command to view traces (https://golang.org/cl/3601) +$ go test -trace=trace.out path/to/package +$ go tool trace [flags] pkg.test trace.out+
+The flags enable the output to be displayed in a browser window.
+For details, run go tool trace -help
.
+There is also a description of the tracing facility in this
+talk
+from GopherCon 2015.
+
@@ -928,7 +944,8 @@ the new Qualifier
function type as an argument to several functions. This is an API change for
the package, but since it is new to the core, it is not breaking the Go 1 compatibility
rules since code that uses the package must explicitly ask for it at its new location.
-TODO: There should be a gofix for this.
+To update, run
+go fix
on your package.