ksyms pseudo driver
Stacey Son
sson at freebsd.org
Tue Jul 15 18:25:38 UTC 2008
Andrew Gallatin wrote:
> Ah, now everything is perfectly clear to me. Your method is
> very clever indeed.
>
> Just out of curiosity, how much memory will the entire symbol
> + strings table require? How often do typical consumers (like dtrace)
> request them?
On an AMD64 "Generic" kernel with only the ksyms module loaded it is
1523847 bytes.
lockstat(1M) will open and read /dev/ksyms once each time it is
invoked. For dtrace, it depends on the script but there shouldn't be
any reason why it reads it more than once as well.
-stacey.
More information about the freebsd-arch
mailing list