lkml.org 
[lkml]   [2000]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Remove unneeded symbols from System.map
Date
Keith Owens wrote:
>
> Brian Gerst <bgerst@didntduck.org> wrote:
> >Currently, System.map contains a significant number of automatically
> >generated symbols. These symbols are unnecessary for debugging since
> >they represent individual elements of the exported symbol and PCI device
> >tables, yet represent about 60% of the symbols in System.map. This
> >patch adds a filter to remove these symbols.
>
> Please do not apply. The size of System.map is almost irrelevant.
> Having the __kstrtab_ and __ksymtab_ symbols in the map helps when
> debugging EXPORT_SYMBOL problems. I expect that other people find the
> __device entries to be useful.

Hmmm, this couldn't be the same Keith Owens who claimed that
System.map is too large to be zipped and appended to bzImage could it?

Seriously, don't you find:

$(NM) vmlinux | grep -v -f scripts/System.map-filter | sort >System.map

just a little bit more readable than:

$(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\([aU]\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map

More flexible too.

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

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.071 / U:10.280 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site