template <>

class WireWeakAsyncClientImpl

Defined at line 3311 of file fidling/gen/sdk/fidl/fuchsia.tracing.provider/fuchsia.tracing.provider/cpp/fidl/fuchsia.tracing.provider/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_tracing_provider::Registry::RegisterProviderSynchronously> RegisterProviderSynchronously (::fidl::ClientEnd< ::fuchsia_tracing_provider::Provider> && provider, uint64_t pid, ::fidl::StringView name)

Registers the trace provider synchronously. The call doesn't return

until the provider is registered.

On return `s` is `ZX_OK` if registration was successful.

`started` is true if tracing has already started, which is a hint to

the provider to wait for the Start() message before continuing if it

wishes to not drop trace records before Start() is received.

To unregister, simply close the Provider pipe.

`pid` is the process id of the provider, `name` is the name of the

provider. Both of these are used in logging and diagnostic messages.

# Deprecation

Use "RegisterV2Synchronously" instead to use the FIDL-based coordination protocol.

Allocates 152 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_tracing_provider::Registry::RegisterV2Synchronously> RegisterV2Synchronously (::fidl::ClientEnd< ::fuchsia_tracing_provider::ProviderV2> && provider, uint64_t pid, ::fidl::StringView name)

Registers the trace provider synchronously using the V2 protocol.

The call doesn't return until the provider is registered. Most callers

should use RegisterV2 unless they need to synchronize with they tracing

system to ensure that specific events are captured.

To unregister, close the `provider` connection.

Allocates 152 bytes of request buffer on the stack. The callback is stored on the heap.