struct ReadTraceCallbackArgs

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

Struct passed as argument to the callback passed to ReadTrace().

[data, size] is guaranteed to contain 1 or more full trace packets, which

can be decoded using trace.proto. No partial or truncated packets are

exposed. If the trace is empty this returns a zero-sized nullptr with

|has_more| == true to signal EOF.

This callback will be invoked on an internal perfetto thread.

Public Members

const char * data
size_t size
bool has_more