Documentation ¶
Index ¶
- func ProcessSymbols(ref *types.SymbolList)
- type ChunkHeader
- type Options
- type Parser
- func (p *Parser) ChunkHeader() ChunkHeader
- func (p *Parser) GetClass(cID types2.ClassRef) *types2.Class
- func (p *Parser) GetMethod(mID types2.MethodRef) *types2.Method
- func (p *Parser) GetStacktrace(stID types2.StackTraceRef) *types2.StackTrace
- func (p *Parser) GetSymbol(sID types2.SymbolRef) *types2.Symbol
- func (p *Parser) GetSymbolString(sID types2.SymbolRef) string
- func (p *Parser) GetThreadState(ref types2.ThreadStateRef) *types2.ThreadState
- func (p *Parser) ParseEvent() (def.TypeID, error)
- type SymbolProcessor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessSymbols ¶ added in v0.8.1
func ProcessSymbols(ref *types.SymbolList)
Types ¶
type ChunkHeader ¶
type ChunkHeader struct { Magic uint32 Version uint32 Size int OffsetConstantPool int OffsetMeta int StartNanos uint64 DurationNanos uint64 StartTicks uint64 TicksPerSecond uint64 Features uint32 }
func (*ChunkHeader) String ¶
func (c *ChunkHeader) String() string
type Options ¶
type Options struct { ChunkSizeLimit int SymbolProcessor SymbolProcessor }
type Parser ¶
type Parser struct { FrameTypes types2.FrameTypeList ThreadStates types2.ThreadStateList Threads types2.ThreadList Classes types2.ClassList Methods types2.MethodList Packages types2.PackageList Symbols types2.SymbolList LogLevels types2.LogLevelList Stacktrace types2.StackTraceList ExecutionSample types2.ExecutionSample ObjectAllocationInNewTLAB types2.ObjectAllocationInNewTLAB ObjectAllocationOutsideTLAB types2.ObjectAllocationOutsideTLAB JavaMonitorEnter types2.JavaMonitorEnter ThreadPark types2.ThreadPark LiveObject types2.LiveObject ActiveSetting types2.ActiveSetting TypeMap def.TypeMap // contains filtered or unexported fields }
func (*Parser) ChunkHeader ¶ added in v0.8.1
func (p *Parser) ChunkHeader() ChunkHeader
func (*Parser) GetStacktrace ¶
func (p *Parser) GetStacktrace(stID types2.StackTraceRef) *types2.StackTrace
func (*Parser) GetThreadState ¶
func (p *Parser) GetThreadState(ref types2.ThreadStateRef) *types2.ThreadState
type SymbolProcessor ¶
type SymbolProcessor func(ref *types2.SymbolList)
Click to show internal directories.
Click to hide internal directories.