summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArtem Savkov <asavkov@redhat.com>2022-04-21 12:43:20 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-04-21 19:51:57 +0300
commitc14766a8a8f3d6c75bf09ec3b6d9ce4d8217015a (patch)
treef2305bc20d43093ecce4e36634a82cffa49e48cc /tools/perf/scripts/python/export-to-sqlite.py
parent6a12b8e20d7e72386594a9dbe7bf2d7fae3b3aa6 (diff)
downloadlinux-c14766a8a8f3d6c75bf09ec3b6d9ce4d8217015a.tar.xz
selftests/bpf: Fix map tests errno checks
Switching to libbpf 1.0 API broke test_lpm_map and test_lru_map as error reporting changed. Instead of setting errno and returning -1 bpf calls now return -Exxx directly. Drop errno checks and look at return code directly. Fixes: b858ba8c52b6 ("selftests/bpf: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK") Signed-off-by: Artem Savkov <asavkov@redhat.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: Yafang Shao <laoar.shao@gmail.com> Link: https://lore.kernel.org/bpf/20220421094320.1563570-1-asavkov@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions