summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/Makefile
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2010-03-01 00:27:55 +0000
committerrwatson <rwatson@FreeBSD.org>2010-03-01 00:27:55 +0000
commit2c2940cdf7c5fa033c50f9c80a5b9f860d82d858 (patch)
tree04416be9d793aa3a6797065cfdbdfbee0a289fde /lib/libkvm/Makefile
parent67dd56fb510222481fc77553f9ef25a5fd1f9620 (diff)
downloadFreeBSD-src-2c2940cdf7c5fa033c50f9c80a5b9f860d82d858.zip
FreeBSD-src-2c2940cdf7c5fa033c50f9c80a5b9f860d82d858.tar.gz
A first cut at teaching libkvm how to deal with dynamic per-CPU storage
(DPCPU): A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes of DPCPU. Calls to kvm_nlist(3) will automatically translate DPCPU symbols and return a pointer to the current CPU's version of the data. Consumers needing to read the same symbol on several CPUs will invoke a series of setcpu/nlist calls, one per CPU of interest. This addition makes it possible for tools like netstat(1) to query the values of DPCPU variables during crashdump analysis, and is based on similar code handling virtualized global variables. MFC after: 1 week Sponsored by: Juniper Networks, Inc.
Diffstat (limited to 'lib/libkvm/Makefile')
-rw-r--r--lib/libkvm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile
index 0cb3ad7..e62d7ca 100644
--- a/lib/libkvm/Makefile
+++ b/lib/libkvm/Makefile
@@ -23,6 +23,7 @@ MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \
kvm_read.3
MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3
+MLINKS+=kvm_getpcpu.3 kvm_dpcpu_setcpu.3
MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
MLINKS+=kvm_read.3 kvm_write.3
OpenPOWER on IntegriCloud