(Note: Patch only attached due to size restrictions.) This patch provides al alternative to the pre-exisiting kallsyms code. That code, from a kernel debugger perspective at least, suffers from incomplete information, making it impossible to (a) disambiguate multiple static functions of the same name (in different source files), (b) determine a complete set of attributes for a symbol (namely, the symbol's size, but also its type, which gets converted to an nm-like one- character representation), and (c) retain full section information This new approach basically makes handling core kernel and module symbols the same, by retrieving the kernel's section, symbol, and string tables rather than parsing the system map. At once it adds the functionality to strip unneeded symbols from modules, which results in non-neglectable space savings for typical distributions (which large amounts of modules). Signed-off-by: Jan Beulich <[email protected]>
Attachment:
linux-2.6.13-kallsyms.patch
Description: Binary data
- Follow-Ups:
- Re: [PATCH] new kallsyms approach
- From: Andi Kleen <[email protected]>
- Re: [PATCH] new kallsyms approach
- Prev by Date: Re: [DRIVER] Where is the PSX Gamepad Driver in 2.6.13-rc3?
- Next by Date: Re: [-mm patch 3/5] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driver
- Previous by thread: [PATCH] pass irq handling status down to low-level code
- Next by thread: Re: [PATCH] new kallsyms approach
- Index(es):