libbpf: start 1.0 development cycle
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 18 May 2022 18:59:14 +0000 (11:59 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 19 May 2022 16:03:31 +0000 (09:03 -0700)
Start libbpf 1.0 development cycle by adding LIBBPF_1.0.0 section to
libbpf.map file and marking all current symbols as local. As we remove
all the deprecated APIs we'll populate global list before the final 1.0
release.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220518185915.3529475-3-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.map
tools/lib/bpf/libbpf_version.h

index 6b36f46ab5d8f39b3a050750f50068b085937f40..52973cffc20cbd3339d3503295708b2644b609fa 100644 (file)
@@ -459,3 +459,7 @@ LIBBPF_0.8.0 {
                libbpf_register_prog_handler;
                libbpf_unregister_prog_handler;
 } LIBBPF_0.7.0;
+
+LIBBPF_1.0.0 {
+       local: *;
+};
index 61f2039404b6fce9bb89526505f7a9c57f5929a7..2fb2f4290080d279005005c65c4baa868b1b1be5 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef __LIBBPF_VERSION_H
 #define __LIBBPF_VERSION_H
 
-#define LIBBPF_MAJOR_VERSION 0
-#define LIBBPF_MINOR_VERSION 8
+#define LIBBPF_MAJOR_VERSION 1
+#define LIBBPF_MINOR_VERSION 0
 
 #endif /* __LIBBPF_VERSION_H */