Open
Description
I am try to build livepatch for kernel built with CONFIG_LTO_CLANG.
The first issue was these .o files are not ELF files, but LLVM IR bitcode. To resolve this, I made some hack so that we run create-diff-object on vmlinux.o, which is ELF. However, create-diff-object spent hours in the following stack:
find_symbol_by_index()
kpatch_create_rela_list()
kpatch_elf_open()
which makes it unusable.
So my question is: Shall we optimize create-diff-object to be faster? Or shall we try some other solutions?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels