]> Git Repo - linux.git/commit
libbpf: remove bpf_create_map*() APIs
authorAndrii Nakryiko <[email protected]>
Wed, 18 May 2022 18:59:15 +0000 (11:59 -0700)
committerAlexei Starovoitov <[email protected]>
Thu, 19 May 2022 16:03:31 +0000 (09:03 -0700)
commitd16495a982324f75e8e65de01475f9533de1db7a
treee0d68651ff631cbba2705d85f96adf4006a2dc97
parente2371b1632b1c61c1fa726a17b82e6833a9e4d85
libbpf: remove bpf_create_map*() APIs

To test API removal, get rid of bpf_create_map*() APIs. Perf defines
__weak implementation of bpf_map_create() that redirects to old
bpf_create_map() and that seems to compile and run fine.

Cc: Jiri Olsa <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
This page took 0.07276 seconds and 4 git commands to generate.