If the debug info for the kernel modules is available, any subsequent CPU performance
analysis will attribute the kernel space samples appropriately to
[vmlinux] module and display the hot kernel functions.
Otherwise, kernel samples will be attributed to
[kernel.kallsyms]_text module.
During the hotspot analysis, do consider the following:
- If you see the
[vmlinux]module, then you should be able to analyze the performance data for kernel functions in the Source view and IMIX view in the GUI. The CLI should also be able to generate source level report and IMIX report for the kernel. - If the source is downloaded and copied to the expected path, then you should be able to see the kernel source lines in GUI and CLI.
- Passing of kernel debug file path and passing of kernel source path is not recommended as that might lead to performance issues.