lkml.org 
[lkml]   [2005]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] do not save thousands of useless symbols in KALLSYMS kernels
Date
On Thursday 11 August 2005 14:16, Paulo Marques wrote:
> Denis Vlasenko wrote:
> > Sample of my kernel's mostly useless symbols
> > (starting_with:# of symbols):
> >
> > __func__: 624
> > __vendorstr_: 1760
> > __pci_fixup_PCI_: 116
> > __ksymtab_: 2597
> > __kstrtab_: 2597
> > __kcrctab_: 2597
> > __initcall_: 236
> > __devicestr_: 4686
> > __devices_: 1760
> > Total: 16973
> > Lines in System.map: 39735
> >
> > Excluding them from in-kernel symbol table saves ~300kb:
> >
> > text data bss dec hex filename
> > 4337710 1054414 259296 5651420 563bdc vmlinux.carrier1 - w/o KALLSYMS
> > 4342068 1296046 259296 5897410 59fcc2 vmlinux - with KALLSYMS+patch
> > 4341948 1607634 259296 6208878 5ebd6e vmlinux.carrier - with KALLSYMS
> > ^^^^^^^
>
> Hummm.... these symbols should only go in if you config KALLSYMS_ALL.
> Are you sure your configuration doesn't have KALLSYMS_ALL enabled?

Yes, it has...
--
vda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-11 13:41    [W:0.039 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site