[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1601379151-21449-1-git-send-email-alan.maguire@oracle.com>
Date: Tue, 29 Sep 2020 04:32:29 -0700 (PDT)
From: Alan Maguire <alan.maguire@...cle.com>
To: ast@...nel.org, daniel@...earbox.net, andriin@...com
Cc: kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...omium.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: [PATCH bpf-next 0/2] selftests/bpf: BTF-based kernel data display
fixes
Resolve issues in bpf selftests introduced with BTF-based kernel data
display selftests; these are
- a warning introduced in snprintf_btf.c; and
- compilation failures with old kernels vmlinux.h
Alan Maguire (2):
selftests/bpf: fix unused-result warning in snprintf_btf.c
selftests/bpf: ensure snprintf_btf/bpf_iter tests compatibility with
old vmlinux.h
.../selftests/bpf/prog_tests/snprintf_btf.c | 2 +-
tools/testing/selftests/bpf/progs/bpf_iter.h | 23 ++++++++++++++++++
tools/testing/selftests/bpf/progs/btf_ptr.h | 27 ++++++++++++++++++++++
.../selftests/bpf/progs/netif_receive_skb.c | 2 +-
4 files changed, 52 insertions(+), 2 deletions(-)
create mode 100644 tools/testing/selftests/bpf/progs/btf_ptr.h
--
1.8.3.1
Powered by blists - more mailing lists