I am trying to do some performance tests, I found out that most overhead is insde the kernel (kernel.kallsyms).
So I need kernel with debuging symbols and extracted vmlinuz in order to run perf report with -k option..
I installed debugging kernel package from ddebs but I am not sure how to boot the kernel. I run update-grub2 but the kernel didnt appeared in the list..
I checked the package and found out that the kernel is installed inside /usr/lib/debug - there are its libraries (libc etc) and kernel modules..
Now I am not able to find some way of loading the kernel at boot time.
I guess I need to be runnig kernel with debugging symbols in order perf to work properly with -k option - otherwise the memory addresses wouldnt be mapped properly - right?
I run the perf -k to kernel without running the same one, but I am not sure if this is correct..