fuchsia.diagnostics.host

Added: 15

PROTOCOLS

ArchiveAccessor

Defined in fuchsia.diagnostics.host/reader.fidl

StreamDiagnostics

Creates an iterator over diagnostics data on the system.

  • The iterator may be finite by streaming in SNAPSHOT mode, serving only the current state of diagnostics data on the system.
  • The iterator may be infinite by streaming in either SNAPSHOT_THEN_SUBSCRIBE or SUBSCRIBE mode; the prior first provides iteration over the current state of the sytem, and then both provide ongoing iteration over newly arriving diagnostics data.

stream is a socket that diagnostic records are exposed to the client over.

parameters is a [fuchsia.diagnostics/StreamParameter] which specifies how to configure the stream.

The stream will carry data using the format documented in [Diagnostics schema][https://fuchsia.dev/fuchsia-src/reference/platform-spec/diagnostics/schema]

Request

NameType
parameters fuchsia.diagnostics/StreamParameters
stream handle<socket>

Response

NameType
payload ArchiveAccessor_StreamDiagnostics_Result

STRUCTS

ArchiveAccessor_StreamDiagnostics_Response

Defined in fuchsia.diagnostics.host/reader.fidl

<EMPTY>

UNIONS

ArchiveAccessor_StreamDiagnostics_Result strict

Defined in fuchsia.diagnostics.host/reader.fidl

OrdinalVariantTypeDescription
response ArchiveAccessor_StreamDiagnostics_Response
framework_err internal