simpleperf: Flush ETM data at the end of recording

So we can get the last ETM data generated during recording.

Bug: 336375740
Test: run simpleperf manually
Change-Id: I449517fb959e4f8310cd1fc582e2182552d0353d
1 file changed