aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArtem Savkov <[email protected]>2022-04-21 11:43:20 +0200
committerAndrii Nakryiko <[email protected]>2022-04-21 09:51:57 -0700
commitc14766a8a8f3d6c75bf09ec3b6d9ce4d8217015a (patch)
treef2305bc20d43093ecce4e36634a82cffa49e48cc /tools/perf/scripts/python/export-to-sqlite.py
parent6a12b8e20d7e72386594a9dbe7bf2d7fae3b3aa6 (diff)
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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Reviewed-by: Yafang Shao <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions