hwpmc.4 (0a0c599ab9a578dd175e626144eacdbb4c5ac6bc) hwpmc.4 (0a1a48148ccd561464d643c05597cec2ae9e88b8)
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

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

30.\"
31.Dd May 31, 2023
32.Dt HWPMC 4
33.Os
34.Sh NAME
35.Nm hwpmc
36.Nd "Hardware Performance Monitoring Counter support"
37.Sh SYNOPSIS
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

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

30.\"
31.Dd May 31, 2023
32.Dt HWPMC 4
33.Os
34.Sh NAME
35.Nm hwpmc
36.Nd "Hardware Performance Monitoring Counter support"
37.Sh SYNOPSIS
38The following option must be present in the kernel configuration file:
39.Bd -ragged -offset indent
38.Cd "options HWPMC_HOOKS"
40.Cd "options HWPMC_HOOKS"
39.Cd "device hwpmc"
41.Ed
40.Pp
41Additionally, for i386 systems:
42.Pp
43Additionally, for i386 systems:
44.Bd -ragged -offset indent
42.Cd "device apic"
45.Cd "device apic"
46.Ed
47.Pp
48To load the driver as a module at boot time, place the
49following line in
50.Xr rc.conf 5 :
51.Bd -literal -offset indent
52kld_list="${kld_list} hwpmc"
53.Ed
54.Pp
55Alternatively, to compile this driver into the kernel:
56.Bd -ragged -offset indent
57.Cd "device hwpmc"
58.Ed
43.Sh DESCRIPTION
44The
45.Nm
46driver virtualizes the hardware performance monitoring facilities in
47modern CPUs and provides support for using these facilities from
48user level processes.
49.Pp
50The driver supports multi-processor systems.

--- 761 unchanged lines hidden ---
59.Sh DESCRIPTION
60The
61.Nm
62driver virtualizes the hardware performance monitoring facilities in
63modern CPUs and provides support for using these facilities from
64user level processes.
65.Pp
66The driver supports multi-processor systems.

--- 761 unchanged lines hidden ---