summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_record_test.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2020-08-24 14:21:55 -0700
committerYabin Cui <yabinc@google.com>2020-08-24 14:26:24 -0700
commit15dd5f794f58ff778fab1a8f29e0aba7cca322c7 (patch)
treeb93923087a5c108d6ee88b2479cf28a5b2a5494c /simpleperf/cmd_record_test.cpp
parent5e346d444d2311bf0e676a1a1a492f7a96b167d2 (diff)
downloadextras-15dd5f794f58ff778fab1a8f29e0aba7cca322c7.tar.gz
simpleperf: Support parsing dynamic string field of tracepoint events.
Also disable hardware counter testing for cf_x86_64 targets. Bug: 165708389 Test: run simpleperf_unit_test Change-Id: Ie2f5c4c96239077d5d55023c8f2d0ffd9b838653
Diffstat (limited to 'simpleperf/cmd_record_test.cpp')
-rw-r--r--simpleperf/cmd_record_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp
index 097f94b0..3a327a3a 100644
--- a/simpleperf/cmd_record_test.cpp
+++ b/simpleperf/cmd_record_test.cpp
@@ -277,7 +277,9 @@ static bool InCloudAndroid() {
#if defined(__ANDROID__)
std::string prop_value = android::base::GetProperty("ro.build.flavor", "");
if (android::base::StartsWith(prop_value, "cf_x86_phone") ||
- android::base::StartsWith(prop_value, "aosp_cf_x86_phone")) {
+ android::base::StartsWith(prop_value, "aosp_cf_x86_phone") ||
+ android::base::StartsWith(prop_value, "cf_x86_64_phone") ||
+ android::base::StartsWith(prop_value, "aosp_cf_x86_64_phone")) {
return true;
}
#endif