5 Commits

Author SHA1 Message Date
Chenxi Mao
1cced95dd2 Upgrade version to 1.25
libbpf upgrade to 1.2.0 which is same as kernel 6.4
Additionally, update dwarves and libbpf source code link.

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-08-19 15:52:28 +08:00
Chenxi Mao
934a5d12d5 Fix spew of warnings if build kernel with LLVM and CONFIG_DEBUG_INFO_BTF
When building a kernel with LLVM and CONFIG_DEBUG_INFO_BTF after commit
32ef9e5054ec ("Makefile.debug: re-enable debug info for .S files") in
the kernel, I see the following spew of warnings, which appear to come
from pahole:

die__process_unit: DW_TAG_label (0xa) @ <0x7b> not handled!
die__process_unit: tag not supported 0xa (label)!
die__process_unit: DW_TAG_label (0xa) @ <0x97> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xbd> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0xed> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x109> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x12a> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x146> not handled!
die__process_unit: DW_TAG_label (0xa) @ <0x16f> not handled!

To fix this issue, backport dwarves upstream patch:
dwarf_loader: Support DW_TAG_label outside DW_TAG_lexblock

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-02-23 10:00:57 +08:00
Kai Liu
8709c8b953 Upgrade to version 1.22
Also upgrade bundled libbpf to commit 393a058, the same as what's
designated in upstream submodule commit.

Introduce a patch from upstream commit 73383b3a3 to avoid using
deprecated libbpf APIs.

References: bsn#158
Signed-off-by: Kai Liu <kai.liu@suse.com>
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
Change-Id: I656420e250f84c5cb513d3099868541e8fc0aa45
2022-12-06 15:01:42 +08:00
xia_qirong
96895db3dd fix about stopping using the deprecated mallinfo function 2021-05-24 20:18:25 +08:00
xia_qirong
23fa94731b add dwarves package 2020-09-16 21:03:23 +08:00