Ensure perfetto trace config file fully updated before starting perfetto trace.

Fixes: 357868833
Test: manual testing taking all traces on trunkstaging build (perfetto) and next build (legacy)
Change-Id: I3b05229c5387b7106739194b59a225df0cc4be37
1 file changed