summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-08 17:33:03 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-06-08 17:33:03 +0000
commitcf1b0bf5a61d553ca88dce7b6e2754a00d50f871 (patch)
treed8d688d80d08380da9083fb776dc23a52f7a0237
parent31261ce86ef9e084bf76a139e7a9e27d64aea796 (diff)
parent8e09938e98916ed0520c73bed6ed89258ff2e1c8 (diff)
downloadextras-android13-platform-release.tar.gz
Change-Id: I86bd9db6f9bae43e2e6a9fd8cf65524f1b718179
-rw-r--r--simpleperf/test_util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/test_util.cpp b/simpleperf/test_util.cpp
index 6dae04cd..43e21831 100644
--- a/simpleperf/test_util.cpp
+++ b/simpleperf/test_util.cpp
@@ -78,6 +78,7 @@ bool HasHardwareCounter() {
auto arch = GetTargetArch();
std::string fingerprint = android::base::GetProperty("ro.system.build.fingerprint", "");
bool is_emulator = android::base::StartsWith(fingerprint, "google/sdk_gphone") ||
+ android::base::StartsWith(fingerprint, "google/sdk_gpc") ||
android::base::StartsWith(fingerprint, "generic/cf");
if (arch == ARCH_X86_64 || arch == ARCH_X86_32 || is_emulator) {