aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmytro Chystiakov <dmytro.chystiakov@intel.com>2021-10-20 11:09:59 -0700
committerKazuhiro Inaba <kinaba@google.com>2021-10-29 09:47:48 +0000
commit13d4feda1cb63a8a720b2e7dca4b27de01faeb17 (patch)
tree02a051720f20c05f2faf59c161fb82ff84b7fed9
parenta767237a32d2331e8510e6ba1941cf042e97f1bc (diff)
downloadperfetto-13d4feda1cb63a8a720b2e7dca4b27de01faeb17.tar.gz
Increase core count for PerfettoDeviceFeatureTest
Increase core count limit for CtsPerfettoTestCases PerfettoDeviceFeatureTest#TestMaxCpusForAtraceChmod to support future devices with more cores Bug: 203651019 Test: atest CtsPerfettoTestCases Change-Id: I2246d9ef10e553df3f9d12ccde78d8009f3fd7cd Merged-In: I2246d9ef10e553df3f9d12ccde78d8009f3fd7cd (cherry picked from commit b4868da668898d53a66087af776b295fea2f2731)
-rw-r--r--test/cts/device_feature_test_cts.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cts/device_feature_test_cts.cc b/test/cts/device_feature_test_cts.cc
index 3ed5bc13a..6ed16c369 100644
--- a/test/cts/device_feature_test_cts.cc
+++ b/test/cts/device_feature_test_cts.cc
@@ -21,9 +21,9 @@
namespace perfetto {
TEST(PerfettoDeviceFeatureTest, TestMaxCpusForAtraceChmod) {
- // Check that there are no more than 16 CPUs so that the assumption in the
+ // Check that there are no more than 24 CPUs so that the assumption in the
// atrace.rc for clearing CPU buffers is valid.
- ASSERT_LE(sysconf(_SC_NPROCESSORS_CONF), 16);
+ ASSERT_LE(sysconf(_SC_NPROCESSORS_CONF), 24);
}
} // namespace perfetto