Re: [PATCH] kallsyms data size reduction / lookup speedup

From: Sam Ravnborg
Date: Mon Aug 30 2004 - 13:56:40 EST


On Thu, Aug 26, 2004 at 11:26:33AM +0100, Paulo Marques wrote:
> If there is a way to know at compile time the exported symbols, then
> scripts/kallsyms might generate a bitmap along with all the other data
> it generates so that checking is_exported would become O(1).

If there exist a symbol named __ksymtab_{symbol} then you know it is exported.

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