The default Ubuntu kernel -generic
package doesn't seem to have symbols in it.
I'm trying to avoid compile a kernel with debug info manually.
Does Ubuntu provide a package with kernel debug symbols?
The default Ubuntu kernel -generic
package doesn't seem to have symbols in it.
I'm trying to avoid compile a kernel with debug info manually.
Does Ubuntu provide a package with kernel debug symbols?
First create a
ddebs.list
using:Then add the GPG key for
ddebs.ubuntu.com
:Then run:
Then install the symbols package using:
This is rather huge (>680MB), so prepare for a wait while you download it.
I use the Linux kernel debug symbols for tools like
systemtap
on the kernel.I tried Colin Ian King's answer and it did not work for me. I found out I must add two extra lines in
/etc/apt/sources.list.d/ddebs.list
Edit the file via
and add the two lines below
Replace
trusty
with your version that you get when you executeFor 16.04+:
GPG key import
Add repository config
(credit to Ubuntu Wiki)