In order to debug kernel or use tools like stap (https://en.wikipedia.org/wiki/SystemTap) kernel must be compiled with full debugging information included - namely option CONFIG_DEBUG_INFO has to be enabled.
I was wondering how does it impact system performance when kernel is compiled with debug options?
I have measured the cpu performance on such kernel with linpack benchmark but it didn't change. What about eg. syscall's speed or other things I don't know about?