BOLT
BOLT copied to clipboard
Support Linux kernel modules
[root@localhost home]# ./wbw/llvm-project-main/build/bin/llvm-bolt kvm-intel.ko -o kvm-intel.ko.bolt -data=perf.fdata -reorder-blocks=cache+ -reorder-functions=hfsort -split-functions=3 -split-all-cold -icf=1 -use-gnu-stack
BOLT-INFO: shared object or position-independent executable detected
BOLT-INFO: Target architecture: x86_64
BOLT-INFO: BOLT version:
@nico @drodriguez @zpao @d0k hi guys,please help me.
Hello. Is this an ELF binary? Can you provide a repro?
This is linux kernel's module. And bolt support linux kernel module optimization?
This is linux kernel's module. And bolt support linux kernel module optimization?
I guess you're the first to report trying to process a kernel module with BOLT :)
No, we don't support it yet. BOLT expects a PT_LOAD
program header as shown in the assertion that failed.
How large is kvm-intel.ko kernel module text section? Do you have a way to measure performance impact of optimizing the module?
This is linux kernel's module. And bolt support linux kernel module optimization?
I guess you're the first to report trying to process a kernel module with BOLT :) No, we don't support it yet. BOLT expects a
PT_LOAD
program header as shown in the assertion that failed.How large is kvm-intel.ko kernel module text section? Do you have a way to measure performance impact of optimizing the module?
I see, thanks for your answer :)