[Question]: How to disable modules BTF independently?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Once I enabled the open source firewall IPfire kernel 6.6.15
DEBUG_INFO_BTF, the IPfire ISO image is increased from about 450MB to
about 1.5GB, I suspect because IPfire has many driver modules to
support as many hardware as possible, pahole generated BTF for all
these modules, that could increase the size of the ISO image, so I
wonder if I could disable modules BTF only but keep vmlinux BTF, or
maybe selectively enable BTF for some modules, but not other modules?

I found this discussion [0] making DEBUG_INFO_BTF_MODULES selectable
independently. I am still not sure how to disable modules BTF, I tried
make menuconfig, still not obvious to me how to disable
DEBUG_INFO_BTF_MODULES

[0] https://lore.kernel.org/bpf/CAKH8qBu0ptKbMVvoMpgN2tyk84ZGvwuCJLjesqw-_8QtSRLqpw@xxxxxxxxxxxxxx/T/#m73cee268387358ec645b665951feb931b294ec2d

Thanks!




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux