class SetDebugClientInfo
Defined at line 1094 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/markers.h
Set information about the current client that can be used by sysmem to
help diagnose leaking memory and allocation stalls waiting for a
participant to send [`fuchsia.sysmem2/BufferCollection.SetConstraints`].
This sets the debug client info on this [`fuchsia.sysmem2/Node`] and all
`Node`(s) derived from this `Node`, unless overriden by
[`fuchsia.sysmem2/Allocator.SetDebugClientInfo`] or a later
[`fuchsia.sysmem2/Node.SetDebugClientInfo`].
Sending [`fuchsia.sysmem2/Allocator.SetDebugClientInfo`] once per
`Allocator` is the most efficient way to ensure that all
[`fuchsia.sysmem2/Node`](s) will have at least some debug client info
set, and is also more efficient than separately sending the same debug
client info via [`fuchsia.sysmem2/Node.SetDebugClientInfo`] for each
created [`fuchsia.sysmem2/Node`].
Also used when verbose logging is enabled (see `SetVerboseLogging`) to
indicate which client is closing their channel first, leading to subtree
failure (which can be normal if the purpose of the subtree is over, but
if happening earlier than expected, the client-channel-specific name can
help diagnose where the failure is first coming from, from sysmem's
point of view).
All table fields are currently required.
+ request `name` This can be an arbitrary string, but the current
process name (see `fsl::GetCurrentProcessName`) is a good default.
+ request `id` This can be an arbitrary id, but the current process ID
(see `fsl::GetCurrentProcessKoid`) is a good default.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal