Reintroduce the __kvm_nvhe_ symbols in kallsyms, ignoring the local symbols in this namespace. The local symbols are not informative and can cause aliasing issues when symbolizing the addresses. With the necessary symbols now in kallsyms we can symbolize nVHE addresses using the %p print format specifier: [ 98.916444][ T426] kvm [426]: nVHE hyp panic at: [<ffffffc0096156fc>] __kvm_nvhe_overflow_stack+0x8/0x34!
Showing the changes to scripts (1 of 2 files). Show all
Unified · Split
| @@ -111,7 +111,8 @@ static bool is_ignored_symbol(const char *name, char type) · 110 unmodified lines | ||
| 111 | 111 | ".L", /* local labels, .LBB,.Ltmpxxx,.L__unnamed_xx,.LASANPC, etc. */ |
| 112 | 112 | "__crc_", /* modversions */ |
| 113 | 113 | "__efistub_", /* arm64 EFI stub namespace */ |
| 114 | − "__kvm_nvhe_", /* arm64 non-VHE KVM namespace */ | |
| 114 | + "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ | |
| 115 | + "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ | |
| 115 | 116 | "__AArch64ADRPThunk_", /* arm64 lld */ |
| 116 | 117 | "__ARMV5PILongThunk_", /* arm lld */ |
| 117 | 118 | "__ARMV7PILongThunk_", |