Add support for taking traces with Perfetto.

This change adds support for Perfetto, including support for passing
Perfetto arguments on the command line. This provides support for the
same state that we previously supported for atrace.

Atrace is still selected as the trace engine to use.

Bug: 116754732
Test: atest TraceurUiTests passes with Atrace as the trace backend
Test: atest TraceurUiTests passes with Perfetto as the trace backend
Change-Id: I5f370afd3611f65f58d290023f241868b0c73388
6 files changed