bcc/python tests: pull kernel_version_ge into utils
authorDave Marchevsky <davemarchevsky@fb.com>
Sat, 14 Aug 2021 08:29:31 +0000 (01:29 -0700)
committeryonghong-song <ys114321@gmail.com>
Thu, 19 Aug 2021 17:24:22 +0000 (10:24 -0700)
commit16b65f0e7a04f5c9438d19c698c035892ebbdcb9
tree6219911df9a6f3351165d220ef7b4b7416c601d8
parentbb691fb8164721ac3a85b29d62883c19a55d4d48
bcc/python tests: pull kernel_version_ge into utils

This helper is replicated in a few different places, let's pull it out.
12 files changed:
tests/python/test_clang.py
tests/python/test_free_bcc_memory.py
tests/python/test_lpm_trie.py
tests/python/test_map_batch_ops.py
tests/python/test_map_in_map.py
tests/python/test_queuestack.py
tests/python/test_ringbuf.py
tests/python/test_stackid.py
tests/python/test_tools_memleak.py
tests/python/test_tools_smoke.py
tests/python/test_tracepoint.py
tests/python/utils.py