simpleperf: try re-enabling events after truncated aux record

A truncated aux record means the aux buffer most likely got full and
the kernel has disabled the perf event. Userspace needs to enable the
event again. We mark the kernel record reader disabled when we receive
a truncated record and try re-enabling its event once we have
collected everything from the kernel.

This imporves the amount of trace collected using TRBE significantly.

Test: simpleperf_unit_test
Change-Id: I470bfbedc145a7a29126b3e4bd4be731ae9edd10
2 files changed