manager: Perfetto tracing is now done asynchronously

This fixes the issue where two or more perfetto traces couldn't
occur concurrently. Each subsequent trace was stuck waiting for
the next 5-10 seconds while we waited for the full trace to finish.

Bug: 142412531
Test: manual (run app and check for perfetto_trace.pb in logcat)
Change-Id: I4d36a7726e2cb388f89e9d8f6ec1f9d5be7b9309
5 files changed