aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/NOTES
diff options
context:
space:
mode:
authorStacey Son <sson@FreeBSD.org>2009-05-26 21:39:09 +0000
committerStacey Son <sson@FreeBSD.org>2009-05-26 21:39:09 +0000
commit00a5db46de56179184c0f000eaacad695e2b0859 (patch)
tree626fb22e642e1f12607624578d9f484a88a1e405 /sys/conf/NOTES
parent3e8739762ff1783a13eaee8c7e52ca799e077c2e (diff)
downloadsrc-00a5db46de56179184c0f000eaacad695e2b0859.tar.gz
src-00a5db46de56179184c0f000eaacad695e2b0859.zip
Add the ksyms(4) pseudo driver. The ksyms driver allows a process to
get a quick snapshot of the kernel's symbol table including the symbols from any loaded modules (the symbols are all merged into one symbol table). Unlike like other implementations, this ksyms driver maps memory in the process memory space to store the snapshot at the time /dev/ksyms is opened. It also checks to see if the process has already a snapshot open and won't allow it to open /dev/ksyms it again until it closes first. This prevents kernel and process memory from being exhausted. Note that /dev/ksyms is used by the lockstat(1) command. Reviewed by: gallatin kib (freebsd-arch) Approved by: gnn (mentor)
Notes
Notes: svn path=/head/; revision=192859
Diffstat (limited to 'sys/conf/NOTES')
-rw-r--r--sys/conf/NOTES3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 0e5bb44acf46..a51beed34758 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1080,6 +1080,9 @@ device random
# The system memory devices; /dev/mem, /dev/kmem
device mem
+# The kernel symbol table device; /dev/ksyms
+device ksyms
+
# Optional character code conversion support with LIBICONV.
# Each option requires their base file system and LIBICONV.
options CD9660_ICONV