DWARF data for 'struct slab' missing in linux-image-3.2.0-* debug deb

Steven Maresca steve at zentific.com
Wed Mar 6 19:26:49 UTC 2013


In the linux-image-3.2.0-* debs from ddebs.ubuntu.com, I've noticed that
'struct slab' seems to be missing from type information provided by DWARF
debug data.

Very easy to test:
# shows the cfs_rq struct definition
pahole -C cfs_rq /usr/lib/debug/boot/vmlinux-3.2.0-30-generic

# nothing
pahole -C slab /usr/lib/debug/boot/vmlinux-3.2.0-30-generic

Is that an expected omission?  Another interesting thing to note is that
'struct array_cache' from mm/slab.c is similarly absent. Hundreds of other
structure types are present as I'd normally expect, so it's an odd thing
indeed.  (I've even tried multiple versions of pahole, readelf, objdump,
etc. just to be sure).  It's worth saying that, even using SLUB, slab
structures should still be in use.

I'm at a loss here. Any ideas?

Thanks,
Steve Maresca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20130306/06ce0354/attachment.html>


More information about the kernel-team mailing list