allocfreetrace

package
v0.0.0-...-c39f9df Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address uintptr

type Event

type Event struct {
	Kind    Kind
	Address Address
	Type    string
	Size    int64
	Stack   string
}

func ParseEvent

func ParseEvent(block string) (Event, bool)

type Kind

type Kind byte
const (
	Invalid Kind = iota
	Alloc
	Free
	GC
)

func (Kind) String

func (kind Kind) String() string

type Reader

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

func NewReader

func NewReader(input io.Reader) *Reader

func (*Reader) Read

func (reader *Reader) Read() (Event, error)

Jump to

Keyboard shortcuts

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