trace

package
v1.7.0-dev-20191018 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 18 Imported by: 8 modules, 35 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindTraceTargets

func FindTraceTargets(ctx context.Context, device path.Device, uri string) ([]*tracer.TraceTargetTreeNode, error)

FindTraceTargets returns trace targets matching the given search parameters.

func PutManager

func PutManager(ctx context.Context, m *Manager) context.Context

PutManager attaches a manager to a Context.

func Trace

func Trace(ctx context.Context, device *path.Device, start task.Signal, stop task.Signal, options *service.TraceOptions, written *int64) error

func TraceConfiguration

func TraceConfiguration(ctx context.Context, device *path.Device) (*service.DeviceTraceConfiguration, error)

func TraceTargetTreeNode

func TraceTargetTreeNode(ctx context.Context, device path.Device, uri string, density float32) (*tracer.TraceTargetTreeNode, error)

TraceTargetTreeNode returns a trace target tree node for the given request

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager is used discover trace devices and to send trace requests to those discovered devices.

func GetManager

func GetManager(ctx context.Context) *Manager

GetManager retrieves the manager from a context previously annotated by PutManager.

func New

func New(ctx context.Context) *Manager

New returns a new Manager instance using the database db.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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