diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2020-07-26 07:51:34 -0700 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2022-05-18 13:32:06 +0300 |
commit | 531e0399cd7fca9e1a88520b817ac036da204c1c (patch) | |
tree | c0e3f3e2957ea560e18373a6f3a41defa1267a55 /target/linux/bcm27xx/bcm2710/config-5.15 | |
parent | 44bcad24b6f330aae73994e881e25df0fd7a490d (diff) | |
download | upstream-531e0399cd7fca9e1a88520b817ac036da204c1c.tar.gz upstream-531e0399cd7fca9e1a88520b817ac036da204c1c.tar.bz2 upstream-531e0399cd7fca9e1a88520b817ac036da204c1c.zip |
build: add option KERNEL_DEBUG_INFO_BTF
Generate BTF (BPF Type Format) information from DWARF debug info. This is
embedded in the kernel and exported via sysfs as /sys/kernel/btf/vmlinux.
BTF data enhances kernel portability and introspection for BPF programs.
Selecting this also enables the dwarves host package which provides the
pahole tool used for BTF encoding.
Test using: "bpftool btf dump file /sys/kernel/btf/vmlinux format c"
This needs to depend on KERNEL_DEBUG_INFO_REDUCED not being set,
otherwise we can enable both KERNEL_DEBUG_INFO_BTF and
KERNEL_DEBUG_INFO_REDUCED, which will result in undefined behaviour.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
[split DEBUG_INFO_REDUCED into separate commit, add dependency]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/bcm27xx/bcm2710/config-5.15')
0 files changed, 0 insertions, 0 deletions