commit | d85e633e1fd8c647de595a1a74dd07ce718acbb5 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Jul 26 10:59:42 2023 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri Jul 28 10:35:16 2023 -0700 |
tree | 78d335466157b4c11fb211c382a4fbfa30d7e933 | |
parent | 03a2ab3e95bdc7e4b90ca1846e73a3fc86c83e59 [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 Merged-In: I210fbb5ca2f426936cefd0ae717ff50f4549f2ae