summaryrefslogtreecommitdiff
path: root/usr/src/man/man3lib/libcpc.3lib
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2019-05-01 16:19:13 +0000
committerRobert Mustacchi <rm@joyent.com>2019-05-09 03:17:34 +0000
commitd0e58ef5d66890a3cd67c9c6eb8c823f9865a70f (patch)
tree4ceb1df56c86753eb2548678b40e7ce33d96b5ba /usr/src/man/man3lib/libcpc.3lib
parentc18e9bc303e04175d63c5c51206b2ce6f6efe6a4 (diff)
downloadillumos-gate-d0e58ef5d66890a3cd67c9c6eb8c823f9865a70f.tar.gz
10896 Want support for AMD Zen CPC events
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3lib/libcpc.3lib')
-rw-r--r--usr/src/man/man3lib/libcpc.3lib13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr/src/man/man3lib/libcpc.3lib b/usr/src/man/man3lib/libcpc.3lib
index 5a2159e2d5..d4438e0c8b 100644
--- a/usr/src/man/man3lib/libcpc.3lib
+++ b/usr/src/man/man3lib/libcpc.3lib
@@ -1,9 +1,10 @@
'\" te
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
+.\" Copyright 2019 Joyent, Inc.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH LIBCPC 3LIB "Oct 8, 2008"
+.TH LIBCPC 3LIB "March 25, 2019"
.SH NAME
libcpc \- CPU performance counter library
.SH SYNOPSIS
@@ -13,12 +14,12 @@ cc [ \fIflag\fR... ] \fIfile\fR... \fB-lcpc\fR [ \fIlibrary\fR... ]
.fi
.SH DESCRIPTION
-.sp
.LP
Functions in this library provide access to CPU performance counters on
-platforms that contain the appropriate hardware.
+platforms that contain the appropriate hardware. A more detailed
+explanation of the library and a list of processor-specific events is
+available in \fBcpc\fR(3CPC).
.SH INTERFACES
-.sp
.LP
The shared object \fBlibcpc.so.1\fR provides the public interfaces defined
below. See \fBIntro\fR(3) for additional information on shared object
@@ -63,7 +64,6 @@ l l .
.TE
.SH FILES
-.sp
.ne 2
.na
\fB\fB/usr/lib/libcpc.so.1\fR\fR
@@ -82,7 +82,6 @@ shared object
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -97,12 +96,10 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBcputrack\fR(1), \fBcpustat\fR(1M), \fBIntro\fR(3), \fBcpc\fR(3CPC),
\fBattributes\fR(5), \fBxVM\fR(5)
.SH NOTES
-.sp
.LP
There is no support for access to performance counters in the \fBxVM\fR(5)
environment. The \fB-h\fR operations for \fBcputrack\fR(1) are not enabled.