commit | 71aec165f09a3fc71094c2e9c2476c257994cd77 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Nov 03 15:23:22 2021 -0700 |
committer | Yabin Cui <yabinc@google.com> | Wed Nov 03 15:31:15 2021 -0700 |
tree | 63583e9c7f3ea47be4969b3e4edc1887002efe18 | |
parent | 4eecbc95fbed040598222bc5c47098d238f0e97d [diff] |
simpleperf: test kernel version in some feature tests. Some features are only based on kernel support. So we can skip the feature tests if we are on a high enough kernel version. Also cache kernel version to speed up tests. Bug: none Test: run simpleperf_unit_test Change-Id: Id163effba77b29f0fa57cb0feb4e8ea87884af0d