tools/dwarves: add host package
authorTony Ambardar <itugrok@yahoo.com>
Tue, 24 Nov 2020 22:15:09 +0000 (14:15 -0800)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 18 May 2022 10:32:06 +0000 (13:32 +0300)
commit02850d7c9cd077c4e890550bf5867aafd7c2542a
treeaba498b174fcf80ecbf8e3db34ef16dfbfad888c
parent6300313deed3688c86cf5633ada439f09e8bcbfd
tools/dwarves: add host package

dwarves is a set of tools that use the debugging information inserted in
ELF binaries by compilers such as GCC. Utilities in the dwarves suite
include pahole, which can be used to find alignment holes in structs and
classes, and also extracts other information such as CPU cacheline
alignment, helping pack those structures to achieve more cache hits.

These tools are also used to encode and read the BTF type information
format used with the bpf syscall, making this a Linux build dependency
when using kernel BTF information.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
[bump to 1.23, add elfutils dep, drop host lib usage, drop cmake release
target, use RM macro]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
toolchain/Config.in
tools/Makefile
tools/dwarves/Makefile [new file with mode: 0644]