From 133f9d61534eaea8f7fb3c3f5372098fb2d8cea7 Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Thu, 23 Jan 2025 09:21:48 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index c6043d1..a773b75 100644 --- a/bundle.json +++ b/bundle.json @@ -1,7 +1,7 @@ { "name": "@ohos/libbpf", "description": "Libbpf is a set of tools for building BPF applications", - "version": "0.7.0", + "version": "1.3.0", "license": "BSD-2-Clause", "publishAs": "code-segment", "segment": { -- Gitee From 1355b65250d0651a68560a3c7c662288f543a107 Mon Sep 17 00:00:00 2001 From: ganchuantao Date: Thu, 13 Feb 2025 08:57:09 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8E=BB=E6=8E=89btf=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E5=AE=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ganchuantao --- src/libbpf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libbpf.c b/src/libbpf.c index af7203f..04e8898 100644 --- a/src/libbpf.c +++ b/src/libbpf.c @@ -6200,9 +6200,7 @@ bpf_object__relocate_core(struct bpf_object *obj, const char *targ_btf_path) return 0; if (targ_btf_path) { -#ifdef HAVE_LIBELF obj->btf_vmlinux_override = btf__parse(targ_btf_path, NULL); -#endif err = libbpf_get_error(obj->btf_vmlinux_override); if (err) { pr_warn("failed to parse target BTF: %d\n", err); -- Gitee