trace

package
v0.0.0-...-5f09953 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Pid  int    `json:"pid"`
	Tid  int    `json:"tid"`
	Ph   string `json:"ph,omitempty"`
	Name string `json:"name,omitempty"`

	Cat  string                 `json:"cat,omitempty"`
	Id   int                    `json:"id,omitempty"`
	Ts   int64                  `json:"ts"`
	Dur  int64                  `json:"dur,omitempty"`
	Args map[string]interface{} `json:"args,omitempty"`
}

type TraceCommand

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

func (*TraceCommand) Execute

func (c *TraceCommand) Execute(ctx context.Context, flag *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*TraceCommand) Name

func (*TraceCommand) Name() string

func (*TraceCommand) SetFlags

func (c *TraceCommand) SetFlags(flags *flag.FlagSet)

func (*TraceCommand) Synopsis

func (*TraceCommand) Synopsis() string

func (*TraceCommand) Usage

func (*TraceCommand) Usage() string

func (*TraceCommand) WriteCSV

func (c *TraceCommand) WriteCSV(spans []tracing.Span, trees []*TraceTree) error

func (*TraceCommand) WriteParquet

func (c *TraceCommand) WriteParquet(spans []tracing.Span, trees []*TraceTree) error

func (*TraceCommand) WriteTraceViewer

func (c *TraceCommand) WriteTraceViewer(spans []tracing.Span, trees []*TraceTree) error

type TraceTree

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

func (*TraceTree) EachSpan

func (t *TraceTree) EachSpan(cb func(span *tracing.Span) error) error

Jump to

Keyboard shortcuts

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