class Registry

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

The service which trace providers use to register themselves with

the tracing system.

Note that one property of this interface is that once registration is made

the provider can drop this connection.

Public Members

static const char[] Name_

Public Methods

void ~Registry ()
void RegisterProvider (::fidl::InterfaceHandle< ::fuchsia::tracing::provider::Provider> provider, uint64_t pid, ::std::string name)

Registers the trace provider.

Note: Registration is asynchronous, it's only at some point after this

returns that the provider is actually registered.

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.

void RegisterProviderSynchronously (::fidl::InterfaceHandle< ::fuchsia::tracing::provider::Provider> provider, uint64_t pid, ::std::string name, RegisterProviderSynchronouslyCallback callback)

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.