go123: lab.nexedi.com/kirr/go123/tracing/cmd/gotrace Files

Command gotrace

Gotrace is a program to support and interact with go tracing subsystem.

Gotrace is a common entry to tracing and provides several subcommands:

gen	generate code according to tracing annotations and imports
list	lists tracepoints defined by a package

See package lab.nexedi.com/kirr/go123/tracing documentation on how to define and use trace events in programs.

TODO automatically turn every trace:event into an USDT probe so that they can be traced from outside of the process too. See e.g. https://github.com/iovisor/bcc/issues/327 for context.

FIXME build tags not taken into account

Package Files

gotrace.go util.go

Package main imports 22 packages (graph). Updated 2020-07-06. Refresh now. Tools for package owners.