Reviewed on: 2019-07-22
iquery is a command line tool for discovering and retrieving inspect data exposed by components. More can be read about iquery here.
This project can be added to builds by including --with //src/sys/…
to the fx set
invocation.
Documentation on using iquery is available here.
Tests for iquery are available in the iquery_golden_tests
package:
$ fx run-test iquery_golden_test
The entrypoint is located in main.cc
, with the rest of the implementation living in top-level .cc
and .h
files. Tests are located in the testing/
directory.