Messages in this thread |  | | From | Daniel Phillips <> | Subject | Re: [PATCH] Remove unneeded symbols from System.map | Date | Sat, 23 Sep 2000 20:08:25 +0200 |
| |
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/
|  |