Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107091253
D40543.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40543.diff
View Options
diff --git a/lib/libpmc/pmc.3 b/lib/libpmc/pmc.3
--- a/lib/libpmc/pmc.3
+++ b/lib/libpmc/pmc.3
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 5, 2023
+.Dd June 16, 2023
.Dt PMC 3
.Os
.Sh NAME
@@ -542,11 +542,7 @@
driver, applications are urged to dynamically link with the
.Nm pmc
library.
-.Pp
-The
-.Nm pmc
-API is
-.Ud
+Doing otherwise is unsupported.
.Sh SEE ALSO
.Xr pmc.atom 3 ,
.Xr pmc.core 3 ,
diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4
--- a/share/man/man4/hwpmc.4
+++ b/share/man/man4/hwpmc.4
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 31, 2023
+.Dd June 16, 2023
.Dt HWPMC 4
.Os
.Sh NAME
@@ -281,14 +281,15 @@
for satisfying system scope allocation requests.
No process scope PMCs will use hardware counters in this row.
.El
-.Sh PROGRAMMING API
-The recommended way for application programs to use the facilities of
-the
-.Nm
-driver is using the API provided by the
+.Sh COMPATIBILITY
+The API and ABI documented in this manual page may change in the future.
+This interface is intended to be consumed by the
.Xr pmc 3
-library.
-.Pp
+library; other consumers are unsupported.
+Applications targeting PMCs should use the
+.Xr pmc 3
+library API.
+.Sh PROGRAMMING API
The
.Nm
driver operates using a system call number that is dynamically
@@ -519,16 +520,6 @@
.Va kern.hwpmc.nsamples
was negative or greater than 65535.
.El
-.Sh COMPATIBILITY
-The
-.Nm
-driver is
-.Ud
-The API and ABI documented in this manual page may change in
-the future.
-The recommended method of accessing this driver is using the
-.Xr pmc 3
-API.
.Sh ERRORS
A command issued to the
.Nm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 11:33 PM (17 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15747886
Default Alt Text
D40543.diff (1 KB)
Attached To
Mode
D40543: pmc: clarify and strengthen statements about API/ABI
Attached
Detach File
Event Timeline
Log In to Comment