summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_getpcpu.3
Commit message (Collapse)AuthorAgeFilesLines
* Add kvm_getncpus() to obtain mp_ncpus.glebius2014-02-121-1/+7
| | | | Sponsored by: Nginx, Inc.
* While it isn't too late and kvm_read_zpcpu() function isn't yet usedglebius2014-02-121-1/+1
| | | | | | | outside libkvm(3), change its order of arguments, so that it is the same as in kvm_read(). Sponsored by: Nginx, Inc.
* Remove EOL whitespace.joel2013-04-111-1/+1
|
* o Provide function kvm_read_zpcpu() to access UMA_ZONE_PCPU allocations.glebius2013-04-101-2/+35
| | | | | | o Provide function kvm_counter_u64_fetch() to fetch valut of a counter(9). Sponsored by: Nginx, Inc.
* General mdoc(7) and typo fixes.gjb2012-05-111-2/+2
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Fix several typos in macros or macro misusage.uqs2010-03-121-1/+1
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* A first cut at teaching libkvm how to deal with dynamic per-CPU storagerwatson2010-03-011-4/+33
| | | | | | | | | | | | | | | | | (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.
* Add a "CACHING" section regarding the internal caching of kernel variablesjhb2008-08-211-0/+8
| | | | and the ability to clear that cache.
* Add two new routines to libkvm for working with per-CPU data:jhb2008-08-191-0/+93
kvm_getmaxcpu() and kvm_getpcpu(). MFC after: 1 week
OpenPOWER on IntegriCloud