trace

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: Apache-2.0 Imports: 18 Imported by: 35

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