class FlushFlags

Defined at line 29 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

This class is a wrapper around the uint64_t flags that are sent across the

tracing protocol whenenver a flush occurs. It helps determining the reason

and initiator of the flush.

NOTE: the values here are part of the tracing protocol ABI. Do not renumber.

Public Methods

void FlushFlags (uint64_t flags)

Defined at line 57 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

void FlushFlags (Initiator i, Reason r, CloneTarget c)

Defined at line 58 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

bool operator== (const FlushFlags & o)

Defined at line 63 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

bool operator!= (const FlushFlags & o)

Defined at line 64 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

Initiator initiator ()

Defined at line 66 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

Reason reason ()

Defined at line 77 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

CloneTarget clone_target ()

Defined at line 84 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

uint64_t flags ()

Defined at line 93 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

Enumerations

enum Initiator
Name Value
kUnknown 0
kTraced 1
kPerfettoCmd 2
kConsumerSdk 3
kMax 4

Defined at line 31 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

enum Reason
Name Value
kUnknown 0
kPeriodic 1
kTraceStop 2
kTraceClone 3
kExplicit 4
kMax 5

Defined at line 40 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h

enum CloneTarget
Name Value
kUnknown 0
kBugreport 1
kMax 2

Defined at line 50 of file ../../third_party/perfetto/include/perfetto/tracing/core/flush_flags.h