To add this component to your build, append --with-base //src/devices/suspend/drivers/aml-suspend
to your fx set
invocation.
To add tests to your build, append --with //src/devices/suspend/drivers:tests
to your fx set
invocation.
Run tests with:
$ fx test aml-suspend-test
To see output, use the -o
flag.
To grab the inspect data, run this ffx
command:
$ ffx inspect show "bootstrap/boot-drivers\:dev.sys.platform.pt.suspend" bootstrap/boot-drivers:dev.sys.platform.pt.suspend: metadata: name = aml-suspend component_url = fuchsia-boot:///aml-suspend#meta/aml-suspend.cm timestamp = 85237566250 payload: root: suspend_events: 0: suspended = 73550318125 1: resumed = 78570003416
The suspend and resume times are listed in chronological order. A suspend abort will be annotated as suspend_failed
with the failure time.