linux/tools/objtool/include/objtool
Petr Pavlu b525fcaf0a livepatch: Free klp_{object,func}_ext data after initialization
The klp_object_ext and klp_func_ext data, which are stored in the
__klp_objects and __klp_funcs sections, respectively, are not needed
after they are used to create the actual klp_object and klp_func
instances. This operation is implemented by the init function in
scripts/livepatch/init.c.

Prefix the two sections with ".init" so they are freed after the module
is initializated.

Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Link: https://patch.msgid.link/20260123102825.3521961-3-petr.pavlu@suse.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
History 2026-02-05 08:00:45 -08:00
..
arch.h objtool: Improve register reporting during function validation 2025-11-21 15:30:10 +01:00
builtin.h objtool: Add wide output for disassembly 2025-11-24 20:40:48 +01:00
cfi.h objtool: Allow stack operations in UNWIND_HINT_UNDEFINED regions 2023-06-07 10:03:11 -07:00
check.h objtool: Provide access to feature and flags of group alternatives 2025-11-21 15:30:14 +01:00
checksum.h objtool/klp: Add --debug-checksum=<funcs> to show per-instruction checksums 2025-10-14 14:50:18 -07:00
checksum_types.h objtool/klp: Add --checksum option to generate per-function checksums 2025-10-14 14:50:17 -07:00
disas.h objtool: Add the --disas=<function-pattern> action 2025-11-21 15:30:12 +01:00
elf.h objtool: Fix .cold function detection for duplicate symbols 2025-11-21 10:04:07 +01:00
endianness.h objtool: Add annotype() helper 2025-10-14 14:46:49 -07:00
klp.h livepatch: Free klp_{object,func}_ext data after initialization 2026-02-05 08:00:45 -08:00
objtool.h objtool: Add more robust signal error handling, detect and warn about stack overflows 2025-12-03 19:42:37 +01:00
orc.h objtool/x86: Separate arch-specific and generic parts 2024-03-11 22:23:47 +08:00
special.h objtool: Add Function to get the name of a CPU feature 2025-11-24 20:39:47 +01:00
trace.h objtool: Improve tracing of alternative instructions 2025-11-21 15:30:11 +01:00
util.h objtool/klp: Introduce klp diff subcommand for diffing object files 2025-10-14 14:50:18 -07:00
warn.h objtool: fix compilation failure with the x32 toolchain 2026-01-13 11:37:50 +01:00