public interface Tracing
Modifier and Type | Method | Description |
---|---|---|
void |
end() |
Stop trace events collection.
|
List<String> |
getCategories() |
Gets supported tracing categories.
|
void |
recordClockSyncMarker(String syncId) |
Record a clock sync marker in the trace.
|
RequestMemoryDumpResult |
requestMemoryDump() |
Request a global memory dump.
|
void |
start() |
Start trace events collection.
|
void |
start(String categories,
String options,
Double bufferUsageReportingInterval,
TransferMode transferMode,
StreamCompression streamCompression,
TraceConfig traceConfig) |
Start trace events collection.
|
void end()
List<String> getCategories()
void recordClockSyncMarker(String syncId)
syncId
- The ID of this clock sync markerRequestMemoryDumpResult requestMemoryDump()
void start(String categories, String options, Double bufferUsageReportingInterval, TransferMode transferMode, StreamCompression streamCompression, TraceConfig traceConfig)
categories
- Category/tag filteroptions
- Tracing optionsbufferUsageReportingInterval
- If set, the agent will issue bufferUsage events at this interval, specified in millisecondstransferMode
- Whether to report trace events as series of dataCollected events or to save trace to a
stream (defaults to ReportEvents
).streamCompression
- Compression format to use. This only applies when using ReturnAsStream
transfer mode (defaults to none
)void start()
Copyright © 2017–2018 WebFolder OÜ. All rights reserved.