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# 23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24# Copyright 2012 Nexenta Systems, Inc. All rights reserved. 25# 26 27set name=pkg.fmri value=pkg:/diagnostic/cpu-counters@$(PKGVERS) 28set name=pkg.description \ 29 value="CPU Performance Counter libraries and utilities" 30set name=pkg.summary value="CPU Performance Counter libraries and utilities" 31set name=info.classification value=org.opensolaris.category.2008:System/Core 32set name=variant.arch value=$(ARCH) 33dir path=usr group=sys 34dir path=usr/bin 35$(i386_ONLY)dir path=usr/bin/$(ARCH32) 36dir path=usr/bin/$(ARCH64) 37dir path=usr/include 38dir path=usr/include/sys 39dir path=usr/kernel group=sys 40dir path=usr/kernel/pcbe group=sys 41dir path=usr/kernel/pcbe/$(ARCH64) group=sys 42dir path=usr/lib 43dir path=usr/lib/$(ARCH64) 44dir path=usr/sbin 45dir path=usr/share/man/man1 46dir path=usr/share/man/man1m 47dir path=usr/share/man/man3cpc 48dir path=usr/share/man/man3lib 49$(i386_ONLY)file path=usr/bin/$(ARCH32)/cputrack mode=0555 50file path=usr/bin/$(ARCH64)/cputrack mode=0555 51file path=usr/include/libcpc.h 52file path=usr/include/libpctx.h 53$(sparc_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.6 group=sys mode=0755 54$(sparc_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.62 group=sys mode=0755 55$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.AuthenticAMD group=sys \ 56 mode=0755 57$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.15 group=sys \ 58 mode=0755 59$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6 group=sys \ 60 mode=0755 61$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.15 \ 62 group=sys mode=0755 63$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.AuthenticAMD group=sys mode=0755 64$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.15 group=sys mode=0755 65$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6 group=sys mode=0755 66$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6.15 group=sys \ 67 mode=0755 68file path=usr/lib/$(ARCH64)/libcpc.so.1 69file path=usr/lib/$(ARCH64)/libpctx.so.1 70file path=usr/lib/$(ARCH64)/llib-lcpc.ln 71file path=usr/lib/$(ARCH64)/llib-lpctx.ln 72file path=usr/lib/libcpc.so.1 73file path=usr/lib/libpctx.so.1 74file path=usr/lib/llib-lcpc 75file path=usr/lib/llib-lcpc.ln 76file path=usr/lib/llib-lpctx 77file path=usr/lib/llib-lpctx.ln 78file path=usr/sbin/cpustat mode=0555 79file path=usr/share/man/man1/cputrack.1 80file path=usr/share/man/man1m/cpustat.1m 81file path=usr/share/man/man3cpc/cpc.3cpc 82file path=usr/share/man/man3cpc/cpc_access.3cpc 83file path=usr/share/man/man3cpc/cpc_bind_curlwp.3cpc 84file path=usr/share/man/man3cpc/cpc_bind_event.3cpc 85file path=usr/share/man/man3cpc/cpc_buf_create.3cpc 86file path=usr/share/man/man3cpc/cpc_count_usr_events.3cpc 87file path=usr/share/man/man3cpc/cpc_enable.3cpc 88file path=usr/share/man/man3cpc/cpc_event.3cpc 89file path=usr/share/man/man3cpc/cpc_event_diff.3cpc 90file path=usr/share/man/man3cpc/cpc_getcpuver.3cpc 91file path=usr/share/man/man3cpc/cpc_npic.3cpc 92file path=usr/share/man/man3cpc/cpc_open.3cpc 93file path=usr/share/man/man3cpc/cpc_pctx_bind_event.3cpc 94file path=usr/share/man/man3cpc/cpc_set_create.3cpc 95file path=usr/share/man/man3cpc/cpc_seterrfn.3cpc 96file path=usr/share/man/man3cpc/cpc_seterrhndlr.3cpc 97file path=usr/share/man/man3cpc/cpc_shared_open.3cpc 98file path=usr/share/man/man3cpc/cpc_strtoevent.3cpc 99file path=usr/share/man/man3cpc/cpc_version.3cpc 100file path=usr/share/man/man3cpc/generic_events.3cpc 101file path=usr/share/man/man3cpc/pctx_capture.3cpc 102file path=usr/share/man/man3cpc/pctx_set_events.3cpc 103file path=usr/share/man/man3lib/libcpc.3lib 104file path=usr/share/man/man3lib/libpctx.3lib 105hardlink path=usr/bin/cputrack target=../lib/isaexec 106$(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.23 target=pcbe.62 107$(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.7 target=pcbe.4.6 108$(i386_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.5 \ 109 target=pcbe.GenuineIntel.6 110$(i386_ONLY)hardlink path=usr/kernel/pcbe/pcbe.GenuineIntel.5 \ 111 target=pcbe.GenuineIntel.6 112legacy pkg=SUNWcpcu desc="CPU Performance Counter libraries and utilities" \ 113 name="CPU Performance Counter libraries and utilities" 114license cr_Sun license=cr_Sun 115license lic_CDDL license=lic_CDDL 116$(i386_ONLY)license usr/src/uts/intel/pcbe/THIRDPARTYLICENSE \ 117 license=usr/src/uts/intel/pcbe/THIRDPARTYLICENSE 118$(sparc_ONLY)license usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE \ 119 license=usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE 120$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.23 \ 121 target=pcbe.GenuineIntel.6.15 122$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.26 \ 123 target=pcbe.GenuineIntel.6.15 124$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.28 \ 125 target=pcbe.GenuineIntel.6.15 126$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.29 \ 127 target=pcbe.GenuineIntel.6.15 128$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.30 \ 129 target=pcbe.GenuineIntel.6.15 130$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.31 \ 131 target=pcbe.GenuineIntel.6.15 132$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.37 \ 133 target=pcbe.GenuineIntel.6.15 134$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.44 \ 135 target=pcbe.GenuineIntel.6.15 136$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.46 \ 137 target=pcbe.GenuineIntel.6.15 138$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.47 \ 139 target=pcbe.GenuineIntel.6.15 140$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.23 \ 141 target=pcbe.GenuineIntel.6.15 142$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.26 \ 143 target=pcbe.GenuineIntel.6.15 144$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.28 \ 145 target=pcbe.GenuineIntel.6.15 146$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.29 \ 147 target=pcbe.GenuineIntel.6.15 148$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.30 \ 149 target=pcbe.GenuineIntel.6.15 150$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.31 \ 151 target=pcbe.GenuineIntel.6.15 152$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.37 \ 153 target=pcbe.GenuineIntel.6.15 154$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.44 \ 155 target=pcbe.GenuineIntel.6.15 156$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.46 \ 157 target=pcbe.GenuineIntel.6.15 158$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.47 \ 159 target=pcbe.GenuineIntel.6.15 160link path=usr/lib/$(ARCH64)/libcpc.so target=./libcpc.so.1 161link path=usr/lib/$(ARCH64)/libpctx.so target=./libpctx.so.1 162link path=usr/lib/libcpc.so target=./libcpc.so.1 163link path=usr/lib/libpctx.so target=./libpctx.so.1 164link path=usr/share/man/man3cpc/cpc_bind_cpu.3cpc target=cpc_bind_curlwp.3cpc 165link path=usr/share/man/man3cpc/cpc_bind_pctx.3cpc target=cpc_bind_curlwp.3cpc 166link path=usr/share/man/man3cpc/cpc_buf_add.3cpc target=cpc_buf_create.3cpc 167link path=usr/share/man/man3cpc/cpc_buf_copy.3cpc target=cpc_buf_create.3cpc 168link path=usr/share/man/man3cpc/cpc_buf_destroy.3cpc \ 169 target=cpc_buf_create.3cpc 170link path=usr/share/man/man3cpc/cpc_buf_get.3cpc target=cpc_buf_create.3cpc 171link path=usr/share/man/man3cpc/cpc_buf_hrtime.3cpc target=cpc_buf_create.3cpc 172link path=usr/share/man/man3cpc/cpc_buf_set.3cpc target=cpc_buf_create.3cpc 173link path=usr/share/man/man3cpc/cpc_buf_sub.3cpc target=cpc_buf_create.3cpc 174link path=usr/share/man/man3cpc/cpc_buf_tick.3cpc target=cpc_buf_create.3cpc 175link path=usr/share/man/man3cpc/cpc_buf_zero.3cpc target=cpc_buf_create.3cpc 176link path=usr/share/man/man3cpc/cpc_caps.3cpc target=cpc_npic.3cpc 177link path=usr/share/man/man3cpc/cpc_cciname.3cpc target=cpc_npic.3cpc 178link path=usr/share/man/man3cpc/cpc_close.3cpc target=cpc_open.3cpc 179link path=usr/share/man/man3cpc/cpc_count_sys_events.3cpc \ 180 target=cpc_count_usr_events.3cpc 181link path=usr/share/man/man3cpc/cpc_cpuref.3cpc target=cpc_npic.3cpc 182link path=usr/share/man/man3cpc/cpc_disable.3cpc target=cpc_enable.3cpc 183link path=usr/share/man/man3cpc/cpc_event_accum.3cpc \ 184 target=cpc_event_diff.3cpc 185link path=usr/share/man/man3cpc/cpc_eventtostr.3cpc target=cpc_strtoevent.3cpc 186link path=usr/share/man/man3cpc/cpc_getcciname.3cpc target=cpc_getcpuver.3cpc 187link path=usr/share/man/man3cpc/cpc_getcpuref.3cpc target=cpc_getcpuver.3cpc 188link path=usr/share/man/man3cpc/cpc_getnpic.3cpc target=cpc_getcpuver.3cpc 189link path=usr/share/man/man3cpc/cpc_getusage.3cpc target=cpc_getcpuver.3cpc 190link path=usr/share/man/man3cpc/cpc_pctx_invalidate.3cpc \ 191 target=cpc_pctx_bind_event.3cpc 192link path=usr/share/man/man3cpc/cpc_pctx_rele.3cpc \ 193 target=cpc_pctx_bind_event.3cpc 194link path=usr/share/man/man3cpc/cpc_pctx_take_sample.3cpc \ 195 target=cpc_pctx_bind_event.3cpc 196link path=usr/share/man/man3cpc/cpc_rele.3cpc target=cpc_bind_event.3cpc 197link path=usr/share/man/man3cpc/cpc_request_preset.3cpc \ 198 target=cpc_bind_curlwp.3cpc 199link path=usr/share/man/man3cpc/cpc_set_add_request.3cpc \ 200 target=cpc_set_create.3cpc 201link path=usr/share/man/man3cpc/cpc_set_destroy.3cpc \ 202 target=cpc_set_create.3cpc 203link path=usr/share/man/man3cpc/cpc_set_restart.3cpc \ 204 target=cpc_bind_curlwp.3cpc 205link path=usr/share/man/man3cpc/cpc_set_sample.3cpc target=cpc_buf_create.3cpc 206link path=usr/share/man/man3cpc/cpc_shared_bind_event.3cpc \ 207 target=cpc_shared_open.3cpc 208link path=usr/share/man/man3cpc/cpc_shared_close.3cpc \ 209 target=cpc_shared_open.3cpc 210link path=usr/share/man/man3cpc/cpc_shared_rele.3cpc \ 211 target=cpc_shared_open.3cpc 212link path=usr/share/man/man3cpc/cpc_shared_take_sample.3cpc \ 213 target=cpc_shared_open.3cpc 214link path=usr/share/man/man3cpc/cpc_take_sample.3cpc \ 215 target=cpc_bind_event.3cpc 216link path=usr/share/man/man3cpc/cpc_unbind.3cpc target=cpc_bind_curlwp.3cpc 217link path=usr/share/man/man3cpc/cpc_walk_attrs.3cpc target=cpc_npic.3cpc 218link path=usr/share/man/man3cpc/cpc_walk_events_all.3cpc target=cpc_npic.3cpc 219link path=usr/share/man/man3cpc/cpc_walk_events_pic.3cpc target=cpc_npic.3cpc 220link path=usr/share/man/man3cpc/cpc_walk_generic_events_all.3cpc \ 221 target=cpc_npic.3cpc 222link path=usr/share/man/man3cpc/cpc_walk_generic_events_pic.3cpc \ 223 target=cpc_npic.3cpc 224link path=usr/share/man/man3cpc/cpc_walk_names.3cpc target=cpc_getcpuver.3cpc 225link path=usr/share/man/man3cpc/cpc_walk_requests.3cpc \ 226 target=cpc_set_create.3cpc 227link path=usr/share/man/man3cpc/pctx_create.3cpc target=pctx_capture.3cpc 228link path=usr/share/man/man3cpc/pctx_release.3cpc target=pctx_capture.3cpc 229link path=usr/share/man/man3cpc/pctx_run.3cpc target=pctx_capture.3cpc 230