diff options
| author | Stanislav Fomichev <[email protected]> | 2019-01-28 09:21:17 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-01-31 10:13:21 +0100 |
| commit | 9acea337ef570faa14f13232d1b2fa6615aaf569 (patch) | |
| tree | beab5ebbc6e9174d6c948912997de4d653ef6485 /tools/perf/scripts/python/futex-contention.py | |
| parent | 8184d44c9a577a2f1842ed6cc844bfd4a9981d8e (diff) | |
selftests/bpf: skip verifier tests for unsupported map types
Use recently introduced bpf_probe_map_type() to skip tests in the
test_verifier if map creation (create_map) fails. It's handled
explicitly for each fixup, i.e. if bpf_create_map returns negative fd,
we probe the kernel for the appropriate map support and skip the
test is map type is not supported.
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions