tracer

package
v1.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path() string

Path returns the file to which Go's runtime tracer should write its output, derived from SQLCDEBUG=trace=...

func Start

func Start(base context.Context) (_ context.Context, cleanup func(), _ error)

Start starts Go's runtime tracing facility. Traces are written to the path returned by Path. It also starts a new *trace.Task that will be stopped when the cleanup is called.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL