Documentation
¶
Index ¶
- func CaptureCPUProfile(ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, ...) (int64, error)
- func CaptureMemoryProfile(ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, ...) (int64, error)
- func CaptureRuntimeTrace(ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, ...) (int64, error)
- func StopRuntimeTrace(ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, ...) (int64, error)
- type CPUProfileArgs
- type MemoryProfileArgs
- type RuntimeTraceArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureCPUProfile ¶
func CaptureCPUProfile( ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, out io.Writer, args CPUProfileArgs, ) (int64, error)
CaptureCPUProfile captures a CPU profile from a TraceService client.
func CaptureMemoryProfile ¶
func CaptureMemoryProfile( ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, out io.Writer, args MemoryProfileArgs, ) (int64, error)
CaptureMemoryProfile captures a memory profile from a TraceService client.
func CaptureRuntimeTrace ¶
func CaptureRuntimeTrace( ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, out io.Writer, args RuntimeTraceArgs, ) (int64, error)
CaptureRuntimeTrace captures a runtime trace from a TraceService client.
func StopRuntimeTrace ¶
func StopRuntimeTrace(ctx context.Context, traceClient s4wave_trace.SRPCTraceServiceClient, out io.Writer) (int64, error)
StopRuntimeTrace stops a runtime trace and writes the streamed bytes.
Types ¶
type CPUProfileArgs ¶
CPUProfileArgs configures a CPU profile capture.
type MemoryProfileArgs ¶
MemoryProfileArgs configures a memory profile capture.
Click to show internal directories.
Click to hide internal directories.