class ThreadLocalState

Defined at line 190 of file ../../third_party/perfetto/include/perfetto/tracing/interceptor.h

A virtual base class for thread-local state needed by the interceptor.

To define your own state, subclass this with the same name in the

interceptor class. A reference to the state can then be looked up through

context.GetThreadLocalState() in the trace packet interceptor function.

Public Methods

void ~ThreadLocalState ()