Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback trace.EventCallback
Callback provides a custom callback function which is called for each tracing event.
func (Callback) ApplyTracer ¶
type Capture ¶
Capture will write Tracepoints as fake packets to the capture.
Checkout the included Lua-based WireShark dissector to decode the fake tracing event packets.
Start WireShark with the following options to load the dissector:
wireshark -Xlua_script:dissector.lua
See ./dissector/dissector.lua
func (Capture) ApplyTracer ¶
type File ¶
File writes tracing events in JSON format to the provided file handle. Each event is written to a new line.
func (File) ApplyTracer ¶
Click to show internal directories.
Click to hide internal directories.