Merge "simpleperf: detect hardware counters on emulators." into android12-tests-dev