diff options
Diffstat (limited to 'usr/src/lib/libcpc/common/mapfile-vers')
| -rw-r--r-- | usr/src/lib/libcpc/common/mapfile-vers | 47 |
1 files changed, 42 insertions, 5 deletions
diff --git a/usr/src/lib/libcpc/common/mapfile-vers b/usr/src/lib/libcpc/common/mapfile-vers index e577fc7c5e..330ed4b118 100644 --- a/usr/src/lib/libcpc/common/mapfile-vers +++ b/usr/src/lib/libcpc/common/mapfile-vers @@ -19,8 +19,7 @@ # CDDL HEADER END # # -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # # @@ -37,13 +36,15 @@ # MAPFILE HEADER END # -SUNW_1.3 { +$mapfile_version 2 + +SYMBOL_VERSION SUNW_1.3 { global: cpc_walk_generic_events_pic; cpc_walk_generic_events_all; } SUNW_1.2; -SUNW_1.2 { +SYMBOL_VERSION SUNW_1.2 { global: cpc_bind_cpu; cpc_bind_curlwp; @@ -78,9 +79,45 @@ SUNW_1.2 { cpc_walk_events_all; cpc_walk_events_pic; cpc_walk_requests; + + # On all platforms other than amd64, SUNW_1.2 inherts SUNW_1.1, + # which supplies additional functions. On amd64, there is no SUNW_1.1. +$if !(_x86 && _ELF64) +} SUNW_1.1 ; + +SYMBOL_VERSION SUNW_1.1 { + global: + cpc_access; + cpc_bind_event; + cpc_count_sys_events; + cpc_count_usr_events; + cpc_event_accum; + cpc_event_diff; + cpc_eventtostr; + cpc_getcciname; + cpc_getcpuref; + cpc_getcpuver; + cpc_getnpic; + cpc_getusage; + cpc_pctx_bind_event; + cpc_pctx_invalidate; + cpc_pctx_rele; + cpc_pctx_take_sample; + cpc_rele; + cpc_seterrfn; + cpc_shared_bind_event; + cpc_shared_close; + cpc_shared_open; + cpc_shared_rele; + cpc_shared_take_sample; + cpc_strtoevent; + cpc_take_sample; + cpc_version; + cpc_walk_names; +$endif }; -SUNWprivate_1.1 { +SYMBOL_VERSION SUNWprivate_1.1 { global: SUNWprivate_1.1; cpc_terminate; |
