Versions in this module Expand all Collapse all v0 v0.11.2 May 28, 2020 v0.10.4 Apr 1, 2020 Changes in this version + func CPUProfile(ctx context.Context, sec int) ([]byte, map[string]string, error) + func Cmdline() ([]byte, map[string]string, error) + func IsErrProfileNotFound(err error) bool + func NewErrProfileNotFound(profile string) error + func Profile(profile string, debug, gc int) ([]byte, map[string]string, error) + func Trace(ctx context.Context, sec int) ([]byte, map[string]string, error) + type ReqType string + const CPUReq + const CmdReq + const ErrProfileNotFoundPrefix + const LookupReq + const TraceReq