heapprofiler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandHeapProfilerAddInspectedHeapObject   = "HeapProfiler.addInspectedHeapObject"
	CommandHeapProfilerCollectGarbage           = "HeapProfiler.collectGarbage"
	CommandHeapProfilerDisable                  = "HeapProfiler.disable"
	CommandHeapProfilerEnable                   = "HeapProfiler.enable"
	CommandHeapProfilerGetHeapObjectId          = "HeapProfiler.getHeapObjectId"
	CommandHeapProfilerGetObjectByHeapObjectId  = "HeapProfiler.getObjectByHeapObjectId"
	CommandHeapProfilerGetSamplingProfile       = "HeapProfiler.getSamplingProfile"
	CommandHeapProfilerStartSampling            = "HeapProfiler.startSampling"
	CommandHeapProfilerStartTrackingHeapObjects = "HeapProfiler.startTrackingHeapObjects"
	CommandHeapProfilerStopSampling             = "HeapProfiler.stopSampling"
	CommandHeapProfilerStopTrackingHeapObjects  = "HeapProfiler.stopTrackingHeapObjects"
	CommandHeapProfilerTakeHeapSnapshot         = "HeapProfiler.takeHeapSnapshot"
)
View Source
const (
	EventHeapProfilerAddHeapSnapshotChunk       = "HeapProfiler.addHeapSnapshotChunk"
	EventHeapProfilerHeapStatsUpdate            = "HeapProfiler.heapStatsUpdate"
	EventHeapProfilerLastSeenObjectId           = "HeapProfiler.lastSeenObjectId"
	EventHeapProfilerReportHeapSnapshotProgress = "HeapProfiler.reportHeapSnapshotProgress"
	EventHeapProfilerResetProfiles              = "HeapProfiler.resetProfiles"
)

Variables

Functions

func GetEventReply

func GetEventReply(event string) (json.Unmarshaler, bool)

Types

type AddHeapSnapshotChunkReply

type AddHeapSnapshotChunkReply struct {
	Chunk string `json:"chunk"` // No description.
}

AddHeapSnapshotChunkReply is the reply for AddHeapSnapshotChunk events.

func (*AddHeapSnapshotChunkReply) GetFrameID

func (a *AddHeapSnapshotChunkReply) GetFrameID() string

AddHeapSnapshotChunkReply returns the FrameID for AddHeapSnapshotChunk in the HeapProfiler domain.

func (*AddHeapSnapshotChunkReply) MatchFrameID

func (a *AddHeapSnapshotChunkReply) MatchFrameID(frameID string, m []byte) (bool, error)

AddHeapSnapshotChunkReply returns whether or not the FrameID matches the reply value for AddHeapSnapshotChunk in the HeapProfiler domain.

func (*AddHeapSnapshotChunkReply) UnmarshalJSON

func (a *AddHeapSnapshotChunkReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for AddHeapSnapshotChunk in the HeapProfiler domain.

type AddInspectedHeapObjectArgs

type AddInspectedHeapObjectArgs struct {
	HeapObjectID HeapSnapshotObjectID `json:"heapObjectId"` // Heap snapshot object id to be accessible by means of $x command line API.
}

AddInspectedHeapObjectArgs represents the arguments for AddInspectedHeapObject in the HeapProfiler domain.

func (*AddInspectedHeapObjectArgs) MarshalJSON

func (a *AddInspectedHeapObjectArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for AddInspectedHeapObject in the HeapProfiler domain.

func (*AddInspectedHeapObjectArgs) UnmarshalJSON

func (a *AddInspectedHeapObjectArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for AddInspectedHeapObject in the HeapProfiler domain.

type AddInspectedHeapObjectReply

type AddInspectedHeapObjectReply struct {
}

AddInspectedHeapObjectReply represents the return values for AddInspectedHeapObject in the HeapProfiler domain.

func (*AddInspectedHeapObjectReply) GetFrameID

func (a *AddInspectedHeapObjectReply) GetFrameID() string

AddInspectedHeapObjectReply returns the FrameID value for AddInspectedHeapObject in the HeapProfiler domain.

func (*AddInspectedHeapObjectReply) MatchFrameID

func (a *AddInspectedHeapObjectReply) MatchFrameID(frameID string, m []byte) (bool, error)

AddInspectedHeapObjectReply returns whether or not the FrameID matches the reply value for AddInspectedHeapObject in the HeapProfiler domain.

func (*AddInspectedHeapObjectReply) UnmarshalJSON

func (a *AddInspectedHeapObjectReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for AddInspectedHeapObject in the HeapProfiler domain.

type CollectGarbageArgs

type CollectGarbageArgs struct {
}

CollectGarbageArgs represents the arguments for CollectGarbage in the HeapProfiler domain.

func (*CollectGarbageArgs) MarshalJSON

func (a *CollectGarbageArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for CollectGarbage in the HeapProfiler domain.

func (*CollectGarbageArgs) UnmarshalJSON

func (a *CollectGarbageArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for CollectGarbage in the HeapProfiler domain.

type CollectGarbageReply

type CollectGarbageReply struct {
}

CollectGarbageReply represents the return values for CollectGarbage in the HeapProfiler domain.

func (*CollectGarbageReply) GetFrameID

func (a *CollectGarbageReply) GetFrameID() string

CollectGarbageReply returns the FrameID value for CollectGarbage in the HeapProfiler domain.

func (*CollectGarbageReply) MatchFrameID

func (a *CollectGarbageReply) MatchFrameID(frameID string, m []byte) (bool, error)

CollectGarbageReply returns whether or not the FrameID matches the reply value for CollectGarbage in the HeapProfiler domain.

func (*CollectGarbageReply) UnmarshalJSON

func (a *CollectGarbageReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for CollectGarbage in the HeapProfiler domain.

type DisableArgs

type DisableArgs struct {
}

DisableArgs represents the arguments for Disable in the HeapProfiler domain.

func (*DisableArgs) MarshalJSON

func (a *DisableArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for Disable in the HeapProfiler domain.

func (*DisableArgs) UnmarshalJSON

func (a *DisableArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Disable in the HeapProfiler domain.

type DisableReply

type DisableReply struct {
}

DisableReply represents the return values for Disable in the HeapProfiler domain.

func (*DisableReply) GetFrameID

func (a *DisableReply) GetFrameID() string

DisableReply returns the FrameID value for Disable in the HeapProfiler domain.

func (*DisableReply) MatchFrameID

func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error)

DisableReply returns whether or not the FrameID matches the reply value for Disable in the HeapProfiler domain.

func (*DisableReply) UnmarshalJSON

func (a *DisableReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Disable in the HeapProfiler domain.

type EnableArgs

type EnableArgs struct {
}

EnableArgs represents the arguments for Enable in the HeapProfiler domain.

func (*EnableArgs) MarshalJSON

func (a *EnableArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for Enable in the HeapProfiler domain.

func (*EnableArgs) UnmarshalJSON

func (a *EnableArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Enable in the HeapProfiler domain.

type EnableReply

type EnableReply struct {
}

EnableReply represents the return values for Enable in the HeapProfiler domain.

func (*EnableReply) GetFrameID

func (a *EnableReply) GetFrameID() string

EnableReply returns the FrameID value for Enable in the HeapProfiler domain.

func (*EnableReply) MatchFrameID

func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error)

EnableReply returns whether or not the FrameID matches the reply value for Enable in the HeapProfiler domain.

func (*EnableReply) UnmarshalJSON

func (a *EnableReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Enable in the HeapProfiler domain.

type GetHeapObjectIDArgs

type GetHeapObjectIDArgs struct {
	ObjectID shared.RemoteObjectID `json:"objectId"` // Identifier of the object to get heap object id for.
}

GetHeapObjectIDArgs represents the arguments for GetHeapObjectID in the HeapProfiler domain.

func (*GetHeapObjectIDArgs) MarshalJSON

func (a *GetHeapObjectIDArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for GetHeapObjectID in the HeapProfiler domain.

func (*GetHeapObjectIDArgs) UnmarshalJSON

func (a *GetHeapObjectIDArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetHeapObjectID in the HeapProfiler domain.

type GetHeapObjectIDReply

type GetHeapObjectIDReply struct {
	HeapSnapshotObjectID HeapSnapshotObjectID `json:"heapSnapshotObjectId"` // Id of the heap snapshot object corresponding to the passed remote object id.
}

GetHeapObjectIDReply represents the return values for GetHeapObjectID in the HeapProfiler domain.

func (*GetHeapObjectIDReply) GetFrameID

func (a *GetHeapObjectIDReply) GetFrameID() string

GetHeapObjectIDReply returns the FrameID value for GetHeapObjectID in the HeapProfiler domain.

func (*GetHeapObjectIDReply) MatchFrameID

func (a *GetHeapObjectIDReply) MatchFrameID(frameID string, m []byte) (bool, error)

GetHeapObjectIDReply returns whether or not the FrameID matches the reply value for GetHeapObjectID in the HeapProfiler domain.

func (*GetHeapObjectIDReply) UnmarshalJSON

func (a *GetHeapObjectIDReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetHeapObjectID in the HeapProfiler domain.

type GetObjectByHeapObjectIDArgs

type GetObjectByHeapObjectIDArgs struct {
	ObjectID    HeapSnapshotObjectID `json:"objectId"`              // No description.
	ObjectGroup string               `json:"objectGroup,omitempty"` // Symbolic group name that can be used to release multiple objects.
}

GetObjectByHeapObjectIDArgs represents the arguments for GetObjectByHeapObjectID in the HeapProfiler domain.

func (*GetObjectByHeapObjectIDArgs) MarshalJSON

func (a *GetObjectByHeapObjectIDArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for GetObjectByHeapObjectID in the HeapProfiler domain.

func (*GetObjectByHeapObjectIDArgs) UnmarshalJSON

func (a *GetObjectByHeapObjectIDArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetObjectByHeapObjectID in the HeapProfiler domain.

type GetObjectByHeapObjectIDReply

type GetObjectByHeapObjectIDReply struct {
	Result runtime.RemoteObject `json:"result"` // Evaluation result.
}

GetObjectByHeapObjectIDReply represents the return values for GetObjectByHeapObjectID in the HeapProfiler domain.

func (*GetObjectByHeapObjectIDReply) GetFrameID

func (a *GetObjectByHeapObjectIDReply) GetFrameID() string

GetObjectByHeapObjectIDReply returns the FrameID value for GetObjectByHeapObjectID in the HeapProfiler domain.

func (*GetObjectByHeapObjectIDReply) MatchFrameID

func (a *GetObjectByHeapObjectIDReply) MatchFrameID(frameID string, m []byte) (bool, error)

GetObjectByHeapObjectIDReply returns whether or not the FrameID matches the reply value for GetObjectByHeapObjectID in the HeapProfiler domain.

func (*GetObjectByHeapObjectIDReply) UnmarshalJSON

func (a *GetObjectByHeapObjectIDReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetObjectByHeapObjectID in the HeapProfiler domain.

type GetSamplingProfileArgs

type GetSamplingProfileArgs struct {
}

GetSamplingProfileArgs represents the arguments for GetSamplingProfile in the HeapProfiler domain.

func (*GetSamplingProfileArgs) MarshalJSON

func (a *GetSamplingProfileArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for GetSamplingProfile in the HeapProfiler domain.

func (*GetSamplingProfileArgs) UnmarshalJSON

func (a *GetSamplingProfileArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetSamplingProfile in the HeapProfiler domain.

type GetSamplingProfileReply

type GetSamplingProfileReply struct {
	Profile SamplingHeapProfile `json:"profile"` // Return the sampling profile being collected.
}

GetSamplingProfileReply represents the return values for GetSamplingProfile in the HeapProfiler domain.

func (*GetSamplingProfileReply) GetFrameID

func (a *GetSamplingProfileReply) GetFrameID() string

GetSamplingProfileReply returns the FrameID value for GetSamplingProfile in the HeapProfiler domain.

func (*GetSamplingProfileReply) MatchFrameID

func (a *GetSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error)

GetSamplingProfileReply returns whether or not the FrameID matches the reply value for GetSamplingProfile in the HeapProfiler domain.

func (*GetSamplingProfileReply) UnmarshalJSON

func (a *GetSamplingProfileReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetSamplingProfile in the HeapProfiler domain.

type HeapSnapshotObjectID

type HeapSnapshotObjectID string

HeapSnapshotObjectID Heap snapshot object id.

type HeapStatsUpdateReply

type HeapStatsUpdateReply struct {
	StatsUpdate []int `json:"statsUpdate"` // An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.
}

HeapStatsUpdateReply is the reply for HeapStatsUpdate events.

func (*HeapStatsUpdateReply) GetFrameID

func (a *HeapStatsUpdateReply) GetFrameID() string

HeapStatsUpdateReply returns the FrameID for HeapStatsUpdate in the HeapProfiler domain.

func (*HeapStatsUpdateReply) MatchFrameID

func (a *HeapStatsUpdateReply) MatchFrameID(frameID string, m []byte) (bool, error)

HeapStatsUpdateReply returns whether or not the FrameID matches the reply value for HeapStatsUpdate in the HeapProfiler domain.

func (*HeapStatsUpdateReply) UnmarshalJSON

func (a *HeapStatsUpdateReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HeapStatsUpdate in the HeapProfiler domain.

type LastSeenObjectIDReply

type LastSeenObjectIDReply struct {
	LastSeenObjectID int     `json:"lastSeenObjectId"` // No description.
	Timestamp        float64 `json:"timestamp"`        // No description.
}

LastSeenObjectIDReply is the reply for LastSeenObjectID events.

func (*LastSeenObjectIDReply) GetFrameID

func (a *LastSeenObjectIDReply) GetFrameID() string

LastSeenObjectIDReply returns the FrameID for LastSeenObjectID in the HeapProfiler domain.

func (*LastSeenObjectIDReply) MatchFrameID

func (a *LastSeenObjectIDReply) MatchFrameID(frameID string, m []byte) (bool, error)

LastSeenObjectIDReply returns whether or not the FrameID matches the reply value for LastSeenObjectID in the HeapProfiler domain.

func (*LastSeenObjectIDReply) UnmarshalJSON

func (a *LastSeenObjectIDReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for LastSeenObjectID in the HeapProfiler domain.

type ReportHeapSnapshotProgressReply

type ReportHeapSnapshotProgressReply struct {
	Done     int  `json:"done"`               // No description.
	Total    int  `json:"total"`              // No description.
	Finished bool `json:"finished,omitempty"` // No description.
}

ReportHeapSnapshotProgressReply is the reply for ReportHeapSnapshotProgress events.

func (*ReportHeapSnapshotProgressReply) GetFrameID

func (a *ReportHeapSnapshotProgressReply) GetFrameID() string

ReportHeapSnapshotProgressReply returns the FrameID for ReportHeapSnapshotProgress in the HeapProfiler domain.

func (*ReportHeapSnapshotProgressReply) MatchFrameID

func (a *ReportHeapSnapshotProgressReply) MatchFrameID(frameID string, m []byte) (bool, error)

ReportHeapSnapshotProgressReply returns whether or not the FrameID matches the reply value for ReportHeapSnapshotProgress in the HeapProfiler domain.

func (*ReportHeapSnapshotProgressReply) UnmarshalJSON

func (a *ReportHeapSnapshotProgressReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for ReportHeapSnapshotProgress in the HeapProfiler domain.

type ResetProfilesReply

type ResetProfilesReply struct {
}

ResetProfilesReply is the reply for ResetProfiles events.

func (*ResetProfilesReply) GetFrameID

func (a *ResetProfilesReply) GetFrameID() string

ResetProfilesReply returns the FrameID for ResetProfiles in the HeapProfiler domain.

func (*ResetProfilesReply) MatchFrameID

func (a *ResetProfilesReply) MatchFrameID(frameID string, m []byte) (bool, error)

ResetProfilesReply returns whether or not the FrameID matches the reply value for ResetProfiles in the HeapProfiler domain.

func (*ResetProfilesReply) UnmarshalJSON

func (a *ResetProfilesReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for ResetProfiles in the HeapProfiler domain.

type SamplingHeapProfile

type SamplingHeapProfile struct {
	Head    SamplingHeapProfileNode     `json:"head"`    // No description.
	Samples []SamplingHeapProfileSample `json:"samples"` // No description.
}

SamplingHeapProfile Sampling profile.

type SamplingHeapProfileNode

type SamplingHeapProfileNode struct {
	CallFrame runtime.CallFrame         `json:"callFrame"` // Function location.
	SelfSize  float64                   `json:"selfSize"`  // Allocations size in bytes for the node excluding children.
	ID        int                       `json:"id"`        // Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
	Children  []SamplingHeapProfileNode `json:"children"`  // Child nodes.
}

SamplingHeapProfileNode Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

type SamplingHeapProfileSample

type SamplingHeapProfileSample struct {
	Size    float64 `json:"size"`    // Allocation size in bytes attributed to the sample.
	NodeID  int     `json:"nodeId"`  // Id of the corresponding profile tree node.
	Ordinal float64 `json:"ordinal"` // Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.
}

SamplingHeapProfileSample A single sample from a sampling profile.

type StartSamplingArgs

type StartSamplingArgs struct {
	SamplingInterval float64 `json:"samplingInterval,omitempty"` // Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
}

StartSamplingArgs represents the arguments for StartSampling in the HeapProfiler domain.

func (*StartSamplingArgs) MarshalJSON

func (a *StartSamplingArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for StartSampling in the HeapProfiler domain.

func (*StartSamplingArgs) UnmarshalJSON

func (a *StartSamplingArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StartSampling in the HeapProfiler domain.

type StartSamplingReply

type StartSamplingReply struct {
}

StartSamplingReply represents the return values for StartSampling in the HeapProfiler domain.

func (*StartSamplingReply) GetFrameID

func (a *StartSamplingReply) GetFrameID() string

StartSamplingReply returns the FrameID value for StartSampling in the HeapProfiler domain.

func (*StartSamplingReply) MatchFrameID

func (a *StartSamplingReply) MatchFrameID(frameID string, m []byte) (bool, error)

StartSamplingReply returns whether or not the FrameID matches the reply value for StartSampling in the HeapProfiler domain.

func (*StartSamplingReply) UnmarshalJSON

func (a *StartSamplingReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StartSampling in the HeapProfiler domain.

type StartTrackingHeapObjectsArgs

type StartTrackingHeapObjectsArgs struct {
	TrackAllocations bool `json:"trackAllocations,omitempty"` // No description.
}

StartTrackingHeapObjectsArgs represents the arguments for StartTrackingHeapObjects in the HeapProfiler domain.

func (*StartTrackingHeapObjectsArgs) MarshalJSON

func (a *StartTrackingHeapObjectsArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for StartTrackingHeapObjects in the HeapProfiler domain.

func (*StartTrackingHeapObjectsArgs) UnmarshalJSON

func (a *StartTrackingHeapObjectsArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StartTrackingHeapObjects in the HeapProfiler domain.

type StartTrackingHeapObjectsReply

type StartTrackingHeapObjectsReply struct {
}

StartTrackingHeapObjectsReply represents the return values for StartTrackingHeapObjects in the HeapProfiler domain.

func (*StartTrackingHeapObjectsReply) GetFrameID

func (a *StartTrackingHeapObjectsReply) GetFrameID() string

StartTrackingHeapObjectsReply returns the FrameID value for StartTrackingHeapObjects in the HeapProfiler domain.

func (*StartTrackingHeapObjectsReply) MatchFrameID

func (a *StartTrackingHeapObjectsReply) MatchFrameID(frameID string, m []byte) (bool, error)

StartTrackingHeapObjectsReply returns whether or not the FrameID matches the reply value for StartTrackingHeapObjects in the HeapProfiler domain.

func (*StartTrackingHeapObjectsReply) UnmarshalJSON

func (a *StartTrackingHeapObjectsReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StartTrackingHeapObjects in the HeapProfiler domain.

type StopSamplingArgs

type StopSamplingArgs struct {
}

StopSamplingArgs represents the arguments for StopSampling in the HeapProfiler domain.

func (*StopSamplingArgs) MarshalJSON

func (a *StopSamplingArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for StopSampling in the HeapProfiler domain.

func (*StopSamplingArgs) UnmarshalJSON

func (a *StopSamplingArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StopSampling in the HeapProfiler domain.

type StopSamplingReply

type StopSamplingReply struct {
	Profile SamplingHeapProfile `json:"profile"` // Recorded sampling heap profile.
}

StopSamplingReply represents the return values for StopSampling in the HeapProfiler domain.

func (*StopSamplingReply) GetFrameID

func (a *StopSamplingReply) GetFrameID() string

StopSamplingReply returns the FrameID value for StopSampling in the HeapProfiler domain.

func (*StopSamplingReply) MatchFrameID

func (a *StopSamplingReply) MatchFrameID(frameID string, m []byte) (bool, error)

StopSamplingReply returns whether or not the FrameID matches the reply value for StopSampling in the HeapProfiler domain.

func (*StopSamplingReply) UnmarshalJSON

func (a *StopSamplingReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StopSampling in the HeapProfiler domain.

type StopTrackingHeapObjectsArgs

type StopTrackingHeapObjectsArgs struct {
	ReportProgress            bool `json:"reportProgress,omitempty"`            // If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
	TreatGlobalObjectsAsRoots bool `json:"treatGlobalObjectsAsRoots,omitempty"` // No description.
}

StopTrackingHeapObjectsArgs represents the arguments for StopTrackingHeapObjects in the HeapProfiler domain.

func (*StopTrackingHeapObjectsArgs) MarshalJSON

func (a *StopTrackingHeapObjectsArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for StopTrackingHeapObjects in the HeapProfiler domain.

func (*StopTrackingHeapObjectsArgs) UnmarshalJSON

func (a *StopTrackingHeapObjectsArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StopTrackingHeapObjects in the HeapProfiler domain.

type StopTrackingHeapObjectsReply

type StopTrackingHeapObjectsReply struct {
}

StopTrackingHeapObjectsReply represents the return values for StopTrackingHeapObjects in the HeapProfiler domain.

func (*StopTrackingHeapObjectsReply) GetFrameID

func (a *StopTrackingHeapObjectsReply) GetFrameID() string

StopTrackingHeapObjectsReply returns the FrameID value for StopTrackingHeapObjects in the HeapProfiler domain.

func (*StopTrackingHeapObjectsReply) MatchFrameID

func (a *StopTrackingHeapObjectsReply) MatchFrameID(frameID string, m []byte) (bool, error)

StopTrackingHeapObjectsReply returns whether or not the FrameID matches the reply value for StopTrackingHeapObjects in the HeapProfiler domain.

func (*StopTrackingHeapObjectsReply) UnmarshalJSON

func (a *StopTrackingHeapObjectsReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for StopTrackingHeapObjects in the HeapProfiler domain.

type TakeHeapSnapshotArgs

type TakeHeapSnapshotArgs struct {
	ReportProgress            bool `json:"reportProgress,omitempty"`            // If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
	TreatGlobalObjectsAsRoots bool `json:"treatGlobalObjectsAsRoots,omitempty"` // If true, a raw snapshot without artificial roots will be generated
}

TakeHeapSnapshotArgs represents the arguments for TakeHeapSnapshot in the HeapProfiler domain.

func (*TakeHeapSnapshotArgs) MarshalJSON

func (a *TakeHeapSnapshotArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for TakeHeapSnapshot in the HeapProfiler domain.

func (*TakeHeapSnapshotArgs) UnmarshalJSON

func (a *TakeHeapSnapshotArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for TakeHeapSnapshot in the HeapProfiler domain.

type TakeHeapSnapshotReply

type TakeHeapSnapshotReply struct {
}

TakeHeapSnapshotReply represents the return values for TakeHeapSnapshot in the HeapProfiler domain.

func (*TakeHeapSnapshotReply) GetFrameID

func (a *TakeHeapSnapshotReply) GetFrameID() string

TakeHeapSnapshotReply returns the FrameID value for TakeHeapSnapshot in the HeapProfiler domain.

func (*TakeHeapSnapshotReply) MatchFrameID

func (a *TakeHeapSnapshotReply) MatchFrameID(frameID string, m []byte) (bool, error)

TakeHeapSnapshotReply returns whether or not the FrameID matches the reply value for TakeHeapSnapshot in the HeapProfiler domain.

func (*TakeHeapSnapshotReply) UnmarshalJSON

func (a *TakeHeapSnapshotReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for TakeHeapSnapshot in the HeapProfiler domain.

type Unmarshaler

type Unmarshaler func() json.Unmarshaler

Jump to

Keyboard shortcuts

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