Commit b250cd8a authored by Igor Murashkin's avatar Igor Murashkin
Browse files

perfetto: Add iorap.cmd.perfetto command line tool

Connect to libperfetto from iorap via an rx abstraction.
This standalone command line tool is used to validate integration
functionality.

Notes:
* Needs 'adb shell setenforce 0' to run, otherwise traced connection
  will fail.
* Use 'trace_to_text systrace <filename.pb>' to dump the output proto in
  a human-readable text form.

Test: adb shell iorap.cmd.perfetto -v --output-proto /data/local/tmp/trace.pb
Test: adb shell iorap.cmd.perfetto -v --output-proto /data/local/tmp/trace.pb --simple
Test: adb pull /data/local/tmp/trace.pb && trace_to_text systrace trace.pb

Bug: 72170747
Change-Id: I17a05d6da469bea7af36871a2e90c508f1549e15
parent 2ccb53d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment