pmc_disable.3 (6455febbea8a62a96b963e613f3f5c1dcec39030) pmc_disable.3 (1ddf079eed3d31dba6d6b66dabb5a053e0a36463)
1.\" Copyright (c) 2007-2008 Joseph Koshy. All rights reserved.
1.\" Copyright (c) 2007 Joseph Koshy. All rights reserved.
2.\"
3.\" Redistribution and use in source and binary forms, with or without
4.\" modification, are permitted provided that the following conditions
5.\" are met:
6.\" 1. Redistributions of source code must retain the above copyright
7.\" notice, this list of conditions and the following disclaimer.
8.\" 2. Redistributions in binary form must reproduce the above copyright
9.\" notice, this list of conditions and the following disclaimer in the

--- 8 unchanged lines hidden (view full) ---

18.\" or services; loss of use, data, or profits; or business interruption)
19.\" however caused and on any theory of liability, whether in contract, strict
20.\" liability, or tort (including negligence or otherwise) arising in any way
21.\" out of the use of this software, even if advised of the possibility of
22.\" such damage.
23.\"
24.\" $FreeBSD$
25.\"
2.\"
3.\" Redistribution and use in source and binary forms, with or without
4.\" modification, are permitted provided that the following conditions
5.\" are met:
6.\" 1. Redistributions of source code must retain the above copyright
7.\" notice, this list of conditions and the following disclaimer.
8.\" 2. Redistributions in binary form must reproduce the above copyright
9.\" notice, this list of conditions and the following disclaimer in the

--- 8 unchanged lines hidden (view full) ---

18.\" or services; loss of use, data, or profits; or business interruption)
19.\" however caused and on any theory of liability, whether in contract, strict
20.\" liability, or tort (including negligence or otherwise) arising in any way
21.\" out of the use of this software, even if advised of the possibility of
22.\" such damage.
23.\"
24.\" $FreeBSD$
25.\"
26.Dd September 22, 2008
26.Dd November 20, 2007
27.Os
28.Dt PMC_ENABLE 3
29.Sh NAME
30.Nm pmc_disable ,
31.Nm pmc_enable
32.Nd administrative control of hardware performance counters
33.Sh LIBRARY
34.Lb libpmc

--- 45 unchanged lines hidden (view full) ---

80Arguments
81.Fa cpu
82or
83.Fa pmc
84were invalid.
85.It Bq Er ENXIO
86Argument
87.Fa cpu
27.Os
28.Dt PMC_ENABLE 3
29.Sh NAME
30.Nm pmc_disable ,
31.Nm pmc_enable
32.Nd administrative control of hardware performance counters
33.Sh LIBRARY
34.Lb libpmc

--- 45 unchanged lines hidden (view full) ---

80Arguments
81.Fa cpu
82or
83.Fa pmc
84were invalid.
85.It Bq Er ENXIO
86Argument
87.Fa cpu
88specified a disabled or absent CPU.
88specified a disabled CPU.
89.It Bq Er EPERM
90The current process lacks sufficient privilege to perform this
91operation.
92.El
93.Sh SEE ALSO
94.Xr pmc 3 ,
95.Xr pmc_cpuinfo 3 ,
96.Xr pmc_pmcinfo 3 ,
97.Xr hwpmc 4 ,
98.Xr pmccontrol 8 ,
99.Xr priv_check 9
89.It Bq Er EPERM
90The current process lacks sufficient privilege to perform this
91operation.
92.El
93.Sh SEE ALSO
94.Xr pmc 3 ,
95.Xr pmc_cpuinfo 3 ,
96.Xr pmc_pmcinfo 3 ,
97.Xr hwpmc 4 ,
98.Xr pmccontrol 8 ,
99.Xr priv_check 9