commit | 00994674030d627d88b4818bb204973f88fcc3f4 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Jul 26 10:59:42 2023 -0700 |
committer | Yabin Cui <yabinc@google.com> | Wed Jul 26 11:11:15 2023 -0700 |
tree | bb30b4c5b9230793c6e59c7f206d048b7b35c742 | |
parent | 55152ee43f71bd1fbb370009fa5db72a4743cd07 [diff] |
simpleperf: check errors in CanSampleRegsFor32BitABI() CanSampleRegsFor32BitABI() returns nullopt when having an error. Currently the caller ignores the error. But it's better to check. So this patch checks the error in OMIT_TEST_ON_NON_NATIVE_ABIS. Bug: 291717595 Test: run CtsSimpleperfTestCases Change-Id: I210fbb5ca2f426936cefd0ae717ff50f4549f2ae