simpleperf: Rotate the last cpu disabling ETM events

When using ETR, ETM data is flushed to the aux buffer of the last
cpu disabling ETM events. To avoid overflowing the aux buffer for
one cpu, rotate the last cpu disabling ETM events.

Bug: 336375740
Test: run simpleperf manually
Change-Id: I1b5f2b85935513a3485d84fe0b850b8223ad03b4
Merged-In: I1b5f2b85935513a3485d84fe0b850b8223ad03b4
2 files changed