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
Loading
Please sign in to comment