xref: /illumos-gate/usr/src/lib/libcpc/common/mapfile-vers (revision 8222814ef8560ee0ba222eca8ca5acffc6cd0e44)
1f808c858Sraf#
2f808c858Sraf# CDDL HEADER START
3f808c858Sraf#
4f808c858Sraf# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
7f808c858Sraf#
8f808c858Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f808c858Sraf# or http://www.opensolaris.org/os/licensing.
10f808c858Sraf# See the License for the specific language governing permissions
11f808c858Sraf# and limitations under the License.
12f808c858Sraf#
13f808c858Sraf# When distributing Covered Code, include this CDDL HEADER in each
14f808c858Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f808c858Sraf# If applicable, add the following below this CDDL HEADER, with the
16f808c858Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17f808c858Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
18f808c858Sraf#
19f808c858Sraf# CDDL HEADER END
20f808c858Sraf#
21f808c858Sraf#
22*cd3e9333SAli Bahrami# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23f808c858Sraf#
24c7a079a8SJonathan Haslam
25bfed486aSAli Bahrami#
26bfed486aSAli Bahrami# MAPFILE HEADER START
27bfed486aSAli Bahrami#
28bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
30bfed486aSAli Bahrami#
31bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
32bfed486aSAli Bahrami#
33bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
34bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
35bfed486aSAli Bahrami#
36bfed486aSAli Bahrami# MAPFILE HEADER END
37bfed486aSAli Bahrami#
38bfed486aSAli Bahrami
39*cd3e9333SAli Bahrami$mapfile_version 2
40*cd3e9333SAli Bahrami
41*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.3 {
42c7a079a8SJonathan Haslam    global:
43c7a079a8SJonathan Haslam	cpc_walk_generic_events_pic;
44c7a079a8SJonathan Haslam	cpc_walk_generic_events_all;
45c7a079a8SJonathan Haslam} SUNW_1.2;
46f808c858Sraf
47*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.2 {
48f808c858Sraf    global:
49f808c858Sraf	cpc_bind_cpu;
50f808c858Sraf	cpc_bind_curlwp;
51f808c858Sraf	cpc_bind_pctx;
52f808c858Sraf	cpc_buf_add;
53f808c858Sraf	cpc_buf_copy;
54f808c858Sraf	cpc_buf_create;
55f808c858Sraf	cpc_buf_destroy;
56f808c858Sraf	cpc_buf_get;
57f808c858Sraf	cpc_buf_hrtime;
58f808c858Sraf	cpc_buf_set;
59f808c858Sraf	cpc_buf_sub;
60f808c858Sraf	cpc_buf_tick;
61f808c858Sraf	cpc_buf_zero;
62f808c858Sraf	cpc_caps;
63f808c858Sraf	cpc_cciname;
64f808c858Sraf	cpc_close;
65f808c858Sraf	cpc_cpuref;
66f808c858Sraf	cpc_disable;
67f808c858Sraf	cpc_enable;
68f808c858Sraf	cpc_npic;
69f808c858Sraf	cpc_open;
70f808c858Sraf	cpc_request_preset;
71f808c858Sraf	cpc_set_add_request;
72f808c858Sraf	cpc_set_create;
73f808c858Sraf	cpc_set_destroy;
74f808c858Sraf	cpc_seterrhndlr;
75f808c858Sraf	cpc_set_restart;
76f808c858Sraf	cpc_set_sample;
77f808c858Sraf	cpc_unbind;
78f808c858Sraf	cpc_walk_attrs;
79f808c858Sraf	cpc_walk_events_all;
80f808c858Sraf	cpc_walk_events_pic;
81f808c858Sraf	cpc_walk_requests;
82*cd3e9333SAli Bahrami
83*cd3e9333SAli Bahrami	# On all platforms other than amd64, SUNW_1.2 inherts SUNW_1.1,
84*cd3e9333SAli Bahrami	# which supplies additional functions. On amd64, there is no SUNW_1.1.
85*cd3e9333SAli Bahrami$if !(_x86 && _ELF64)
86*cd3e9333SAli Bahrami} SUNW_1.1 ;
87*cd3e9333SAli Bahrami
88*cd3e9333SAli BahramiSYMBOL_VERSION SUNW_1.1 {
89*cd3e9333SAli Bahrami    global:
90*cd3e9333SAli Bahrami	cpc_access;
91*cd3e9333SAli Bahrami	cpc_bind_event;
92*cd3e9333SAli Bahrami	cpc_count_sys_events;
93*cd3e9333SAli Bahrami	cpc_count_usr_events;
94*cd3e9333SAli Bahrami	cpc_event_accum;
95*cd3e9333SAli Bahrami	cpc_event_diff;
96*cd3e9333SAli Bahrami	cpc_eventtostr;
97*cd3e9333SAli Bahrami	cpc_getcciname;
98*cd3e9333SAli Bahrami	cpc_getcpuref;
99*cd3e9333SAli Bahrami	cpc_getcpuver;
100*cd3e9333SAli Bahrami	cpc_getnpic;
101*cd3e9333SAli Bahrami	cpc_getusage;
102*cd3e9333SAli Bahrami	cpc_pctx_bind_event;
103*cd3e9333SAli Bahrami	cpc_pctx_invalidate;
104*cd3e9333SAli Bahrami	cpc_pctx_rele;
105*cd3e9333SAli Bahrami	cpc_pctx_take_sample;
106*cd3e9333SAli Bahrami	cpc_rele;
107*cd3e9333SAli Bahrami	cpc_seterrfn;
108*cd3e9333SAli Bahrami	cpc_shared_bind_event;
109*cd3e9333SAli Bahrami	cpc_shared_close;
110*cd3e9333SAli Bahrami	cpc_shared_open;
111*cd3e9333SAli Bahrami	cpc_shared_rele;
112*cd3e9333SAli Bahrami	cpc_shared_take_sample;
113*cd3e9333SAli Bahrami	cpc_strtoevent;
114*cd3e9333SAli Bahrami	cpc_take_sample;
115*cd3e9333SAli Bahrami	cpc_version;
116*cd3e9333SAli Bahrami	cpc_walk_names;
117*cd3e9333SAli Bahrami$endif
118f808c858Sraf};
119f808c858Sraf
120*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 {
121f808c858Sraf    global:
122b885580bSAlexander Kolbasov	cpc_terminate;
123f808c858Sraf    local:
124f808c858Sraf	*;
125f808c858Sraf};
126