Documentation
¶
Index ¶
- type BlobType
- type KernelObjectID
- type Thread
- type Writer
- func (w *Writer) AddAsyncBeginEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddAsyncBeginEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddAsyncEndEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddAsyncEndEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddAsyncInstantEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddAsyncInstantEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddBlobRecord(name string, data []byte, blobType BlobType) error
- func (w *Writer) AddContextSwitchRecord(cpuNumber uint16, outgoingThreadState uint8, outgoingThreadId KernelObjectID, ...) error
- func (w *Writer) AddContextSwitchRecordWithArgs(cpuNumber uint16, outgoingThreadState uint8, outgoingThreadId KernelObjectID, ...) error
- func (w *Writer) AddCounterEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddDurationBeginEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddDurationBeginEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddDurationCompleteEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddDurationCompleteEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddDurationEndEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddDurationEndEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddFlowBeginEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddFlowBeginEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddFlowEndEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddFlowEndEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddFlowStepEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddFlowStepEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddInitializationRecord(numTicksPerSecond uint64) error
- func (w *Writer) AddInstantEvent(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddInstantEventWithArgs(category string, name string, processId KernelObjectID, ...) error
- func (w *Writer) AddProviderEventRecord(providerId uint32, eventType providerEventType) error
- func (w *Writer) AddProviderInfoRecord(providerId uint32, providerName string) error
- func (w *Writer) AddProviderSectionRecord(providerId uint32) error
- func (w *Writer) AddThreadWakeupRecord(cpuNumber uint16, wakingThreadId KernelObjectID, timestamp uint64) error
- func (w *Writer) AddThreadWakeupRecordWithArgs(cpuNumber uint16, wakingThreadId KernelObjectID, timestamp uint64, ...) error
- func (w *Writer) AddUserspaceObjectRecord(name string, processId KernelObjectID, pointerValue uintptr, ...) error
- func (w *Writer) Close() error
- func (w *Writer) SetProcessName(processId KernelObjectID, name string) error
- func (w *Writer) SetThreadName(processId KernelObjectID, threadId KernelObjectID, name string) error
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 (*Writer) AddAsyncBeginEvent ¶ added in v0.2.0
func (w *Writer) AddAsyncBeginEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, asyncCorrelationId uint64) error
func (*Writer) AddAsyncBeginEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddAsyncBeginEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, asyncCorrelationId uint64, arguments map[string]interface{}) error
func (*Writer) AddAsyncEndEvent ¶ added in v0.2.0
func (w *Writer) AddAsyncEndEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, asyncCorrelationId uint64) error
func (*Writer) AddAsyncEndEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddAsyncEndEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, asyncCorrelationId uint64, arguments map[string]interface{}) error
func (*Writer) AddAsyncInstantEvent ¶ added in v0.2.0
func (w *Writer) AddAsyncInstantEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, asyncCorrelationId uint64) error
func (*Writer) AddAsyncInstantEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddAsyncInstantEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, asyncCorrelationId uint64, arguments map[string]interface{}) error
func (*Writer) AddBlobRecord ¶ added in v0.3.0
func (*Writer) AddContextSwitchRecord ¶ added in v0.3.0
func (w *Writer) AddContextSwitchRecord(cpuNumber uint16, outgoingThreadState uint8, outgoingThreadId KernelObjectID, incomingThreadId KernelObjectID, timestamp uint64) error
func (*Writer) AddContextSwitchRecordWithArgs ¶ added in v0.3.0
func (w *Writer) AddContextSwitchRecordWithArgs(cpuNumber uint16, outgoingThreadState uint8, outgoingThreadId KernelObjectID, incomingThreadId KernelObjectID, timestamp uint64, arguments map[string]interface{}) error
func (*Writer) AddCounterEvent ¶ added in v0.2.0
func (w *Writer) AddCounterEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, arguments map[string]interface{}, counterId uint64) error
func (*Writer) AddDurationBeginEvent ¶ added in v0.2.0
func (w *Writer) AddDurationBeginEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64) error
func (*Writer) AddDurationBeginEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddDurationBeginEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, arguments map[string]interface{}) error
func (*Writer) AddDurationCompleteEvent ¶ added in v0.2.0
func (w *Writer) AddDurationCompleteEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, beginTimestamp uint64, endTimestamp uint64) error
func (*Writer) AddDurationCompleteEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddDurationCompleteEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, beginTimestamp uint64, endTimestamp uint64, arguments map[string]interface{}) error
func (*Writer) AddDurationEndEvent ¶ added in v0.2.0
func (w *Writer) AddDurationEndEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64) error
func (*Writer) AddDurationEndEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddDurationEndEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, arguments map[string]interface{}) error
func (*Writer) AddFlowBeginEvent ¶ added in v0.2.0
func (w *Writer) AddFlowBeginEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, flowCorrelationId uint64) error
func (*Writer) AddFlowBeginEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddFlowBeginEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, flowCorrelationId uint64, arguments map[string]interface{}) error
func (*Writer) AddFlowEndEvent ¶ added in v0.2.0
func (w *Writer) AddFlowEndEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, flowCorrelationId uint64) error
func (*Writer) AddFlowEndEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddFlowEndEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, flowCorrelationId uint64, arguments map[string]interface{}) error
func (*Writer) AddFlowStepEvent ¶ added in v0.2.0
func (w *Writer) AddFlowStepEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, flowCorrelationId uint64) error
func (*Writer) AddFlowStepEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddFlowStepEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, flowCorrelationId uint64, arguments map[string]interface{}) error
func (*Writer) AddInitializationRecord ¶
func (*Writer) AddInstantEvent ¶ added in v0.2.0
func (w *Writer) AddInstantEvent(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64) error
func (*Writer) AddInstantEventWithArgs ¶ added in v0.3.0
func (w *Writer) AddInstantEventWithArgs(category string, name string, processId KernelObjectID, threadId KernelObjectID, timestamp uint64, arguments map[string]interface{}) error
func (*Writer) AddProviderEventRecord ¶
func (*Writer) AddProviderInfoRecord ¶
func (*Writer) AddProviderSectionRecord ¶
func (*Writer) AddThreadWakeupRecord ¶ added in v0.3.0
func (w *Writer) AddThreadWakeupRecord(cpuNumber uint16, wakingThreadId KernelObjectID, timestamp uint64) error
func (*Writer) AddThreadWakeupRecordWithArgs ¶ added in v0.3.0
func (*Writer) AddUserspaceObjectRecord ¶ added in v0.3.0
func (*Writer) SetProcessName ¶ added in v0.2.0
func (w *Writer) SetProcessName(processId KernelObjectID, name string) error
func (*Writer) SetThreadName ¶ added in v0.2.0
func (w *Writer) SetThreadName(processId KernelObjectID, threadId KernelObjectID, name string) error
Click to show internal directories.
Click to hide internal directories.