Open romanovj opened 1 month ago
We encountered the same issue and eventually found that it was caused by kaslr. Disabling kaslr resolved the issue. https://github.com/llvm/llvm-project/pull/98153 is a discussion on this problem.
@romanovj Please be aware, that these patches in the kernel-patches dir are still pretty new and not much tested. Also, for BOLTING the kernel you need an unstripped vmlinux. as @hun-zi-shang-fen mentioned, adding "nokaslr" solves the profile conversion
Kernel linux-cachyos-bore GCC-14 or Clang-17 without LTO
Profile collected with:
perf record -a -e cycles -j any,k -F 1000 -- sleep 60
100MB vmlinux + perf.data https://disk.yandex.com/d/uTngs08s5dt-lw