hwpmc.4 (c2025a76606b44c4d5367b7509fbc0285ae1e7f8) | hwpmc.4 (ac6a9a8e21d7305b9736d042e8fc857cac29453d) |
---|---|
1.\" Copyright (c) 2003-2008 Joseph Koshy 2.\" Copyright (c) 2007 The FreeBSD Foundation 3.\" All rights reserved. 4.\" 5.\" Portions of this software were developed by A. Joseph Koshy under 6.\" sponsorship from the FreeBSD Foundation and Google, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" $FreeBSD$ 30.\" | 1.\" Copyright (c) 2003-2008 Joseph Koshy 2.\" Copyright (c) 2007 The FreeBSD Foundation 3.\" All rights reserved. 4.\" 5.\" Portions of this software were developed by A. Joseph Koshy under 6.\" sponsorship from the FreeBSD Foundation and Google, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" $FreeBSD$ 30.\" |
31.Dd September 22, 2008 | 31.Dd November 2, 2012 |
32.Dt HWPMC 4 33.Os 34.Sh NAME 35.Nm hwpmc 36.Nd "Hardware Performance Monitoring Counter support" 37.Sh SYNOPSIS 38.Cd "options HWPMC_HOOKS" 39.Cd "device hwpmc" --- 385 unchanged lines hidden (view full) --- 425The default buffer size is 4KB. 426.It Va kern.hwpmc.mtxpoolsize Pq integer, read-only 427The size of the spin mutex pool used by the PMC driver. 428The default is 32. 429.It Va kern.hwpmc.nbuffers Pq integer, read-only 430The number of log buffers used by 431.Nm 432for logging. | 32.Dt HWPMC 4 33.Os 34.Sh NAME 35.Nm hwpmc 36.Nd "Hardware Performance Monitoring Counter support" 37.Sh SYNOPSIS 38.Cd "options HWPMC_HOOKS" 39.Cd "device hwpmc" --- 385 unchanged lines hidden (view full) --- 425The default buffer size is 4KB. 426.It Va kern.hwpmc.mtxpoolsize Pq integer, read-only 427The size of the spin mutex pool used by the PMC driver. 428The default is 32. 429.It Va kern.hwpmc.nbuffers Pq integer, read-only 430The number of log buffers used by 431.Nm 432for logging. |
433The default is 16. | 433The default is 64. |
434.It Va kern.hwpmc.nsamples Pq integer, read-only 435The number of entries in the per-CPU ring buffer used during sampling. | 434.It Va kern.hwpmc.nsamples Pq integer, read-only 435The number of entries in the per-CPU ring buffer used during sampling. |
436The default is 16. | 436The default is 512. |
437.It Va security.bsd.unprivileged_syspmcs Pq boolean, read-write 438If set to non-zero, allow unprivileged processes to allocate system-wide 439PMCs. 440The default value is 0. 441.It Va security.bsd.unprivileged_proc_debug Pq boolean, read-write 442If set to 0, the 443.Nm 444driver will only allow privileged processes to attach PMCs to other --- 389 unchanged lines hidden --- | 437.It Va security.bsd.unprivileged_syspmcs Pq boolean, read-write 438If set to non-zero, allow unprivileged processes to allocate system-wide 439PMCs. 440The default value is 0. 441.It Va security.bsd.unprivileged_proc_debug Pq boolean, read-write 442If set to 0, the 443.Nm 444driver will only allow privileged processes to attach PMCs to other --- 389 unchanged lines hidden --- |