diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-06-06 01:08:04 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-06-06 01:08:04 +0000 |
commit | 8a673868f8e979b32402d0f6baf30731e6397e68 (patch) | |
tree | 36a5d69453c98b98aa05fe41a65c9bf88008927c | |
parent | 9e5220d6a2b93f3c8c8c38afbfb63b1708e04505 (diff) | |
parent | 756a972f99ed337c3a5b4735969596708861cf64 (diff) | |
download | extras-8a673868f8e979b32402d0f6baf30731e6397e68.tar.gz |
Snap for 6564423 from 756a972f99ed337c3a5b4735969596708861cf64 to rvc-release
Change-Id: Iad7d55ba99cd81a867ede44fd7b46472881a94d2
-rw-r--r-- | simpleperf/cmd_record_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp index 0879f955..fdb6f5e3 100644 --- a/simpleperf/cmd_record_test.cpp +++ b/simpleperf/cmd_record_test.cpp @@ -302,7 +302,8 @@ bool HasHardwareCounter() { std::string hardware = GetHardwareFromCpuInfo(cpu_info); if (std::regex_search(hardware, std::regex(R"(i\.MX6.*Quad)")) || std::regex_search(hardware, std::regex(R"(SC7731e)")) || - std::regex_search(hardware, std::regex(R"(Qualcomm Technologies, Inc MSM8909)"))) { + std::regex_search(hardware, std::regex(R"(Qualcomm Technologies, Inc MSM8909)")) || + std::regex_search(hardware, std::regex(R"(Broadcom STB \(Flattened Device Tree\))"))) { has_hw_counter = 0; } } |