Message ID | 20210920195423.20214-1-kelsey.skunberg@canonical.com |
---|---|
Headers | show |
Series | CONFIG_DEBUG_INFO=y | expand |
Acked-by: Tim Gardner <tim.gardner@canonical.com> On 9/20/21 1:54 PM, Kelsey Skunberg wrote: > BugLink: https://bugs.launchpad.net/bugs/1935855 > > [Impact] > > linux-image-unsigned-5.4.0-77-generic-dbgsym provides a > /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm, but it does not contain any debug > symbols. > > Turn on CONFIG_DEBUG_INFO to include those debug symbols. > > [Test Case] > Compare: > > $ file /usr/lib/debug/boot/vmlinux-* > /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm: ELF 64-bit LSB executable, x86-64, > version 1 (SYSV), statically linked, > BuildID[sha1]=514891d64a7d18db4fa58aa5cfea213e0951ca9d, not stripped > /usr/lib/debug/boot/vmlinux-5.4.0-77-generic: ELF 64-bit LSB executable, x86-64, > version 1 (SYSV), statically linked, > BuildID[sha1]=773d8ee85333fe092635f65d2b6850909085c11d, with debug_info, not > stripped > > [What Could Go Wrong] > > Since linux-kvm is tuned for performance, it's possible there's some > side-effect of producing debug symbols that negatively impacts this. I've not > noticed any issues empirically, but I didn't try to measure it. > > This config is already succesfully turned on in Hirsute/kvm. > > Kelsey Skunberg (2): > UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y > UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y > > debian.kvm/config/config.common.ubuntu | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) >
LGTM. Acked-by: Kamal Mostafa <kamal@canonical.com> -Kamal On Mon, Sep 20, 2021 at 01:54:21PM -0600, Kelsey Skunberg wrote: > BugLink: https://bugs.launchpad.net/bugs/1935855 > > [Impact] > > linux-image-unsigned-5.4.0-77-generic-dbgsym provides a > /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm, but it does not contain any debug > symbols. > > Turn on CONFIG_DEBUG_INFO to include those debug symbols. > > [Test Case] > Compare: > > $ file /usr/lib/debug/boot/vmlinux-* > /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm: ELF 64-bit LSB executable, x86-64, > version 1 (SYSV), statically linked, > BuildID[sha1]=514891d64a7d18db4fa58aa5cfea213e0951ca9d, not stripped > /usr/lib/debug/boot/vmlinux-5.4.0-77-generic: ELF 64-bit LSB executable, x86-64, > version 1 (SYSV), statically linked, > BuildID[sha1]=773d8ee85333fe092635f65d2b6850909085c11d, with debug_info, not > stripped > > [What Could Go Wrong] > > Since linux-kvm is tuned for performance, it's possible there's some > side-effect of producing debug symbols that negatively impacts this. I've not > noticed any issues empirically, but I didn't try to measure it. > > This config is already succesfully turned on in Hirsute/kvm. > > Kelsey Skunberg (2): > UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y > UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y > > debian.kvm/config/config.common.ubuntu | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > -- > 2.25.1 > > > -- > kernel-team mailing list > kernel-team@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team
On 2021-09-20 13:54:21 , Kelsey Skunberg wrote: > BugLink: https://bugs.launchpad.net/bugs/1935855 > > [Impact] > > linux-image-unsigned-5.4.0-77-generic-dbgsym provides a > /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm, but it does not contain any debug > symbols. > > Turn on CONFIG_DEBUG_INFO to include those debug symbols. > > [Test Case] > Compare: > > $ file /usr/lib/debug/boot/vmlinux-* > /usr/lib/debug/boot/vmlinux-5.4.0-1040-kvm: ELF 64-bit LSB executable, x86-64, > version 1 (SYSV), statically linked, > BuildID[sha1]=514891d64a7d18db4fa58aa5cfea213e0951ca9d, not stripped > /usr/lib/debug/boot/vmlinux-5.4.0-77-generic: ELF 64-bit LSB executable, x86-64, > version 1 (SYSV), statically linked, > BuildID[sha1]=773d8ee85333fe092635f65d2b6850909085c11d, with debug_info, not > stripped > > [What Could Go Wrong] > > Since linux-kvm is tuned for performance, it's possible there's some > side-effect of producing debug symbols that negatively impacts this. I've not > noticed any issues empirically, but I didn't try to measure it. > > This config is already succesfully turned on in Hirsute/kvm. > > Kelsey Skunberg (2): > UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y > UBUNTU: [config] kvm: CONFIG_DEBUG_INFO=y > > debian.kvm/config/config.common.ubuntu | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > -- > 2.25.1 >