package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

IsEnabled reports whether tracing is enabled.
Log emits a one-off event with the given category and message.
Logf is like Log, but the value is formatted using the specified format spec.
NewTask creates a task instance with the type taskType and returns it along with a Context that carries the task.
Start enables tracing for the current program.
StartRegion starts a region and returns a function for marking the end of the region.
Stop stops the current tracing, if any.
WithRegion starts a region associated with its calling goroutine, runs fn, and then ends the region.

# Structs

Region is a region of code whose execution time interval is traced.
Task is a data type for tracing a user-defined, logical operation.