aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
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/modules/Makefile
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/modules/Makefile')
-rw-r--r--sys/modules/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 01a044fd30ee..b9c7f1c51987 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -139,6 +139,7 @@ SUBDIR= ${_3dfx} \
joy \
kbdmux \
krpc \
+ ksyms \
le \
lge \
libalias \