namespace inspect

Namespaces

Records

Functions

ReadFromVmo

result ReadFromVmo(const zx::vmo & vmo)

Defined at line 600 of file ../../zircon/system/ulib/inspect/reader.cc

Construct a new Hierarchy by synchronously reading nodes out of the given VMO.

ReadFromSnapshot

result ReadFromSnapshot( Snapshot snapshot)

Defined at line 595 of file ../../zircon/system/ulib/inspect/reader.cc

Construct a new Hierarchy by synchronously reading nodes out of the given VMO Snapshot.

ReadFromBuffer

result ReadFromBuffer( vector buffer)

Defined at line 608 of file ../../zircon/system/ulib/inspect/reader.cc

Construct a new Hierarchy by synchronously reading nodes out of the contents of the given buffer.

ReadFromInspector

promise_impl ReadFromInspector( Inspector insp)

Defined at line 617 of file ../../zircon/system/ulib/inspect/reader.cc

Construct a new Hierarchy by reading nodes out of the given Inspector, including all linked hierarchies.

PrintTo

void PrintTo(const inspect::PropertyValue & property, std::ostream * os)

Defined at line 14 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

Printers for inspect types.

PrintTo

void PrintTo(const class inspect::NodeValue & node, std::ostream * os)

Defined at line 55 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

PrintTo

void PrintTo(const class inspect::Hierarchy & hierarchy, std::ostream * os)

Defined at line 60 of file ../../sdk/lib/inspect/testing/cpp/inspect.cc

Printer for Hierarchy wrapper.

ReadAllChildNames

promise_impl ReadAllChildNames( InterfacePtr iterator)

Defined at line 63 of file ../../sdk/lib/inspect/service/cpp/reader.cc

Read all of the child names from a TreeNameIterator into a vector.

This function continually calls GetNext on the iterator until all child names have been returned.

Returns a promise for the vector of child names names.

ReadFromTree

fpromise::promise<Hierarchy> ReadFromTree( InterfacePtr tree)

Defined at line 89 of file ../../sdk/lib/inspect/service/cpp/reader.cc

Read a full inspect::Hierarchy from a fuchsia.inspect.Tree.

fuchsia.inspect.Tree provides lookup support for Link nodes stored in a hierarchy. This function uses the protocol to lookup linked data as needed to create a complete view of the entire tree, including dynamically generated subtrees.

Returns a promise for the hierarchy parsed from the Tree.

MakeTreeHandler

function_impl MakeTreeHandler(const inspect::Inspector * inspector, async_dispatcher_t * dispatcher, TreeHandlerSettings settings)

Defined at line 129 of file ../../sdk/lib/inspect/service/cpp/service.cc

Returns a handler for fuchsia.inspect.Tree connections on the given Inspector.

This is meant to be used to construct a vfs::Service Node to serve the given Inspector as a fuchsia.inspect.Tree.

Enums

enum class ArrayDisplayFormat

  • kFlat
  • kLinearHistogram
  • kExponentialHistogram

Defined at line 19 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

Describes how an array of values should be displayed.

enum LinkDisposition

  • kChild
  • kInline

Defined at line 226 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

The disposition for a LinkValue describes how its contents should be included in the parent node.

enum class PropertyFormat

  • kInvalid
  • kInt
  • kUint
  • kDouble
  • kIntArray
  • kUintArray
  • kDoubleArray
  • kString
  • kBytes
  • kBool
  • kStringArray

Defined at line 250 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h

Describes the format of a parsed property.

enum class MissingValueReason

  • kLinkNotFound
  • kLinkHierarchyParseFailure
  • kLinkInvalid

Defined at line 365 of file ../../zircon/system/ulib/inspect/include/lib/inspect/cpp/hierarchy.h