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