tree: 56cd85e206e0bff46a4fadc9009a56a0f64963a5 [path history] [tgz]
  1. cpp/
  2. BUILD.gn
  3. OWNERS
  4. README.md
  5. tree_handler_settings.h
  6. tree_service_common.api
sdk/lib/sys/inspect/README.md

sys_inspect library

This document was last reviewed for accuracy on: 2019-07-16

This library supports creating a default Inspector for a Fuchsia Component.

Full documentation for the Component Inspection project can be found here.

Using

sys_inspect can be used in-tree by depending on the //sdk/lib/sys/inspect/cpp GN target and using #include <lib/sys/inspect/cpp/component.h>.

Our quickstart guide is available here.

Inspect data may be read from components using the iquery tool.

Testing

Unit tests for inspect are available in the sys_inspect_cpp_tests package.

To include them, you must pass --with //sdk/lib/sys/inspect/cpp/tests:sys_inspect_cpp_tests to fx set.

$ fx run-test sys_inspect_cpp_tests