gotrace: Files | Directories

Command gotrace

Command gotrace annotates function entry and exit points to provide strace-like tracing of go programs.

usage: gotrace [flags] [path ...]
-exclude string
		exclude any matching functions, takes precedence over filter
		only annotate exported functions
-filter string
		only annotate functions matching the regular expression (default ".")
		show package name prefix on function calls
-prefix string
		log prefix (default "\t")
		show function return
-w	re-write files in place

Package Files

doc.go trace.go


logCustom logger for gotrace

Package main imports 13 packages (graph). Updated 2016-07-20. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).