TraceCollectingStrategy

It is a strategy to collect trace: it can be full-track in memory or streaming to a file on-the-fly

Inheritors

Functions

Link copied to clipboard
abstract fun callEnded(callTracepoint: TRMethodCallTracePoint)

Must be called when the method call is ended and the call stack is popped.

Link copied to clipboard
abstract fun finishCurrentThread()

Mark the thread as finished in strategy.

Link copied to clipboard
abstract fun registerCurrentThread(threadId: Int)

Register current thread in strategy.

Link copied to clipboard
abstract fun traceEnded()

Must be called when trace is finished

Link copied to clipboard
abstract fun tracePointCreated(parent: TRMethodCallTracePoint?, created: TRTracePoint)

Must be called when a new tracepoint is created.