desktop

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 22 Imported by: 7

Documentation

Overview

Package desktop contains the desktop specific Perfetto tracing code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

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

Process represents a running Perfetto capture.

func Start

func Start(ctx context.Context, d bind.Device, abi *device.ABI, opts *service.TraceOptions) (*Process, error)

Start sets up a Perfetto trace

func (*Process) Capture

func (p *Process) Capture(ctx context.Context, start task.Signal, stop task.Signal, w io.Writer, written *int64) (int64, error)

Capture starts the perfetto capture.

Jump to

Keyboard shortcuts

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