Namespaces

Enumerations

enum BackendType
Name Value
kUnspecifiedBackend 0
kInProcessBackend 1 << 0
kSystemBackend 1 << 1
kCustomBackend 1 << 2

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

enum BufferExhaustedPolicy
Name Value
kStall 0
kDrop 1
kStallThenDrop 2
kDefault kStall

Determines how SharedMemoryArbiterImpl::GetNewChunk() behaves when no free

chunks are available.

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

Records

Functions

  • const char * GetConsumerSocket ()
  • ProducerAndWriterID MkProducerAndWriterID (ProducerID p, WriterID w)

    Defined at line 48 of file ../../third_party/perfetto/include/perfetto/ext/tracing/core/basic_types.h

  • void GetProducerAndWriterID (ProducerAndWriterID x, ProducerID * p, WriterID * w)

    Defined at line 55 of file ../../third_party/perfetto/include/perfetto/ext/tracing/core/basic_types.h

  • std::vector<std::string> TokenizeProducerSockets (const char * producer_socket_names)

    This function is used for tokenize the |producer_socket_names| string into

    multiple producer socket names.

  • const char * GetProducerSocket ()
  • std::string GetRelaySocket ()

    Optionally returns the relay socket name. The relay socket is used

    for forwarding the IPC messages between the local producers and the remote

    tracing service.

  • TraceConfig::TriggerConfig::TriggerMode GetTriggerMode (const TraceConfig & cfg)

    Defined at line 30 of file ../../third_party/perfetto/include/perfetto/tracing/core/trace_config.h

  • template <typename T>
    void WriteIntoTracedValue (TracedValue context, T && value)

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

  • template <typename MessageType, typename T>
    void WriteIntoTracedProto (TracedProto<MessageType> context, T && value)

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

  • template <typename MessageType, typename FieldMetadataType, typename ValueType>
    void WriteTracedProtoField (TracedProto<MessageType> & message, FieldMetadataType , ValueType && value)

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

  • template <typename T>
    typename std::enable_if<internal::has_traced_value_support<T>::value>::type WriteIntoTracedValueWithFallback (TracedValue context, T && value, const std::string & )

    Helpers to write a given value into TracedValue even if the given type

    doesn't support conversion (in which case the provided fallback should be

    used). Useful for automatically generating conversions for autogenerated

    code, but otherwise shouldn't be used as non-autogenerated code is expected

    to define WriteIntoTracedValue convertor.

    See WriteWithFallback test in traced_value_unittest.cc for a concrete

    example.

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

  • template <typename T>
    typename std::enable_if<!internal::has_traced_value_support<T>::value>::type WriteIntoTracedValueWithFallback (TracedValue contextT && const std::string & fallback)

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