module: Avoid ABI changes when debug info is disabled
Forwarded: not-needed
CI builds are done with debug info disabled, but this removes some
members from struct module and replaces some BTF-related exports with
static definitions. This causes builds to fail if there is an ABI
reference for the current ABI.
- Add a new config symbol DEBUG_INFO_BTF_MODULES_NOOP which can be
enabled when DEBUG_INFO is not enabled
- When the symbol is enabled:
- Define the BTF-related members of struct module
- Export the no-op definitions of BTF-related functions
- Define and export the same BTF-related static lists
Gbp-Pq: Topic debian
Gbp-Pq: Name module-avoid-abi-changes-when-debug-info-is-disabled.patch