fxt

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

fxt

A library for creating Fuschia Tracing Format (FXT) files

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KernelObjectID

type KernelObjectID uint64

type Thread

type Thread struct {
	ProcessId KernelObjectID
	ThreadId  KernelObjectID
}

type Writer

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

func NewWriter

func NewWriter(filePath string) (*Writer, error)

func (*Writer) AddInitializationRecord

func (w *Writer) AddInitializationRecord(numTicksPerSecond uint64) error

func (*Writer) AddProviderEventRecord

func (w *Writer) AddProviderEventRecord(providerId uint32, eventType providerEventType) error

func (*Writer) AddProviderInfoRecord

func (w *Writer) AddProviderInfoRecord(providerId uint32, providerName string) error

func (*Writer) AddProviderSectionRecord

func (w *Writer) AddProviderSectionRecord(providerId uint32) error

func (*Writer) Close

func (w *Writer) Close() error

Jump to

Keyboard shortcuts

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