commit | 6f2b219b62a4376ca2da15c503de79d0650c8155 | [log] [tgz] |
---|---|---|
author | Hengqi Chen <hengqi.chen@gmail.com> | Mon Oct 04 00:58:44 2021 +0800 |
committer | Andrii Nakryiko <andrii@kernel.org> | Wed Oct 06 12:34:02 2021 -0700 |
tree | d6b57e0ba51373477c58bea70ec99e43e553913e | |
parent | 2088a3a71d870115fdfb799c0f7de76d7383ba03 [diff] |
selftests/bpf: Switch to new bpf_object__next_{map,program} APIs Replace deprecated bpf_{map,program}__next APIs with newly added bpf_object__next_{map,program} APIs, so that no compilation warnings emit. Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20211003165844.4054931-3-hengqi.chen@gmail.com