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.15 \ 60 group=sys mode=0755 61file path=usr/lib/$(ARCH64)/libcpc.so.1 62file path=usr/lib/$(ARCH64)/libpctx.so.1 63file path=usr/lib/$(ARCH64)/llib-lcpc.ln 64file path=usr/lib/$(ARCH64)/llib-lpctx.ln 65file path=usr/lib/libcpc.so.1 66file path=usr/lib/libpctx.so.1 67file path=usr/lib/llib-lcpc 68file path=usr/lib/llib-lcpc.ln 69file path=usr/lib/llib-lpctx 70file path=usr/lib/llib-lpctx.ln 71file path=usr/sbin/cpustat mode=0555 72file path=usr/share/man/man1/cputrack.1 73file path=usr/share/man/man1m/cpustat.1m 74file path=usr/share/man/man3cpc/cpc.3cpc 75file path=usr/share/man/man3cpc/cpc_access.3cpc 76file path=usr/share/man/man3cpc/cpc_bind_curlwp.3cpc 77file path=usr/share/man/man3cpc/cpc_bind_event.3cpc 78file path=usr/share/man/man3cpc/cpc_buf_create.3cpc 79file path=usr/share/man/man3cpc/cpc_count_usr_events.3cpc 80file path=usr/share/man/man3cpc/cpc_enable.3cpc 81file path=usr/share/man/man3cpc/cpc_event.3cpc 82file path=usr/share/man/man3cpc/cpc_event_diff.3cpc 83file path=usr/share/man/man3cpc/cpc_getcpuver.3cpc 84file path=usr/share/man/man3cpc/cpc_npic.3cpc 85file path=usr/share/man/man3cpc/cpc_open.3cpc 86file path=usr/share/man/man3cpc/cpc_pctx_bind_event.3cpc 87file path=usr/share/man/man3cpc/cpc_set_create.3cpc 88file path=usr/share/man/man3cpc/cpc_seterrfn.3cpc 89file path=usr/share/man/man3cpc/cpc_seterrhndlr.3cpc 90file path=usr/share/man/man3cpc/cpc_shared_open.3cpc 91file path=usr/share/man/man3cpc/cpc_strtoevent.3cpc 92file path=usr/share/man/man3cpc/cpc_version.3cpc 93file path=usr/share/man/man3cpc/generic_events.3cpc 94file path=usr/share/man/man3cpc/pctx_capture.3cpc 95file path=usr/share/man/man3cpc/pctx_set_events.3cpc 96file path=usr/share/man/man3lib/libcpc.3lib 97file path=usr/share/man/man3lib/libpctx.3lib 98hardlink path=usr/bin/cputrack target=../lib/isaexec 99$(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.23 target=pcbe.62 100$(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.7 target=pcbe.4.6 101legacy pkg=SUNWcpcu desc="CPU Performance Counter libraries and utilities" \ 102 name="CPU Performance Counter libraries and utilities" 103license cr_Sun license=cr_Sun 104license lic_CDDL license=lic_CDDL 105$(i386_ONLY)license usr/src/uts/intel/pcbe/THIRDPARTYLICENSE \ 106 license=usr/src/uts/intel/pcbe/THIRDPARTYLICENSE 107$(sparc_ONLY)license usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE \ 108 license=usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE 109$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.23 \ 110 target=pcbe.GenuineIntel.6.15 111$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.26 \ 112 target=pcbe.GenuineIntel.6.15 113$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.28 \ 114 target=pcbe.GenuineIntel.6.15 115$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.29 \ 116 target=pcbe.GenuineIntel.6.15 117$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.30 \ 118 target=pcbe.GenuineIntel.6.15 119$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.31 \ 120 target=pcbe.GenuineIntel.6.15 121$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.37 \ 122 target=pcbe.GenuineIntel.6.15 123$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.44 \ 124 target=pcbe.GenuineIntel.6.15 125$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.46 \ 126 target=pcbe.GenuineIntel.6.15 127$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.47 \ 128 target=pcbe.GenuineIntel.6.15 129link path=usr/lib/$(ARCH64)/libcpc.so target=./libcpc.so.1 130link path=usr/lib/$(ARCH64)/libpctx.so target=./libpctx.so.1 131link path=usr/lib/libcpc.so target=./libcpc.so.1 132link path=usr/lib/libpctx.so target=./libpctx.so.1 133link path=usr/share/man/man3cpc/cpc_bind_cpu.3cpc target=cpc_bind_curlwp.3cpc 134link path=usr/share/man/man3cpc/cpc_bind_pctx.3cpc target=cpc_bind_curlwp.3cpc 135link path=usr/share/man/man3cpc/cpc_buf_add.3cpc target=cpc_buf_create.3cpc 136link path=usr/share/man/man3cpc/cpc_buf_copy.3cpc target=cpc_buf_create.3cpc 137link path=usr/share/man/man3cpc/cpc_buf_destroy.3cpc \ 138 target=cpc_buf_create.3cpc 139link path=usr/share/man/man3cpc/cpc_buf_get.3cpc target=cpc_buf_create.3cpc 140link path=usr/share/man/man3cpc/cpc_buf_hrtime.3cpc target=cpc_buf_create.3cpc 141link path=usr/share/man/man3cpc/cpc_buf_set.3cpc target=cpc_buf_create.3cpc 142link path=usr/share/man/man3cpc/cpc_buf_sub.3cpc target=cpc_buf_create.3cpc 143link path=usr/share/man/man3cpc/cpc_buf_tick.3cpc target=cpc_buf_create.3cpc 144link path=usr/share/man/man3cpc/cpc_buf_zero.3cpc target=cpc_buf_create.3cpc 145link path=usr/share/man/man3cpc/cpc_caps.3cpc target=cpc_npic.3cpc 146link path=usr/share/man/man3cpc/cpc_cciname.3cpc target=cpc_npic.3cpc 147link path=usr/share/man/man3cpc/cpc_close.3cpc target=cpc_open.3cpc 148link path=usr/share/man/man3cpc/cpc_count_sys_events.3cpc \ 149 target=cpc_count_usr_events.3cpc 150link path=usr/share/man/man3cpc/cpc_cpuref.3cpc target=cpc_npic.3cpc 151link path=usr/share/man/man3cpc/cpc_disable.3cpc target=cpc_enable.3cpc 152link path=usr/share/man/man3cpc/cpc_event_accum.3cpc \ 153 target=cpc_event_diff.3cpc 154link path=usr/share/man/man3cpc/cpc_eventtostr.3cpc target=cpc_strtoevent.3cpc 155link path=usr/share/man/man3cpc/cpc_getcciname.3cpc target=cpc_getcpuver.3cpc 156link path=usr/share/man/man3cpc/cpc_getcpuref.3cpc target=cpc_getcpuver.3cpc 157link path=usr/share/man/man3cpc/cpc_getnpic.3cpc target=cpc_getcpuver.3cpc 158link path=usr/share/man/man3cpc/cpc_getusage.3cpc target=cpc_getcpuver.3cpc 159link path=usr/share/man/man3cpc/cpc_pctx_invalidate.3cpc \ 160 target=cpc_pctx_bind_event.3cpc 161link path=usr/share/man/man3cpc/cpc_pctx_rele.3cpc \ 162 target=cpc_pctx_bind_event.3cpc 163link path=usr/share/man/man3cpc/cpc_pctx_take_sample.3cpc \ 164 target=cpc_pctx_bind_event.3cpc 165link path=usr/share/man/man3cpc/cpc_rele.3cpc target=cpc_bind_event.3cpc 166link path=usr/share/man/man3cpc/cpc_request_preset.3cpc \ 167 target=cpc_bind_curlwp.3cpc 168link path=usr/share/man/man3cpc/cpc_set_add_request.3cpc \ 169 target=cpc_set_create.3cpc 170link path=usr/share/man/man3cpc/cpc_set_destroy.3cpc \ 171 target=cpc_set_create.3cpc 172link path=usr/share/man/man3cpc/cpc_set_restart.3cpc \ 173 target=cpc_bind_curlwp.3cpc 174link path=usr/share/man/man3cpc/cpc_set_sample.3cpc target=cpc_buf_create.3cpc 175link path=usr/share/man/man3cpc/cpc_shared_bind_event.3cpc \ 176 target=cpc_shared_open.3cpc 177link path=usr/share/man/man3cpc/cpc_shared_close.3cpc \ 178 target=cpc_shared_open.3cpc 179link path=usr/share/man/man3cpc/cpc_shared_rele.3cpc \ 180 target=cpc_shared_open.3cpc 181link path=usr/share/man/man3cpc/cpc_shared_take_sample.3cpc \ 182 target=cpc_shared_open.3cpc 183link path=usr/share/man/man3cpc/cpc_take_sample.3cpc \ 184 target=cpc_bind_event.3cpc 185link path=usr/share/man/man3cpc/cpc_unbind.3cpc target=cpc_bind_curlwp.3cpc 186link path=usr/share/man/man3cpc/cpc_walk_attrs.3cpc target=cpc_npic.3cpc 187link path=usr/share/man/man3cpc/cpc_walk_events_all.3cpc target=cpc_npic.3cpc 188link path=usr/share/man/man3cpc/cpc_walk_events_pic.3cpc target=cpc_npic.3cpc 189link path=usr/share/man/man3cpc/cpc_walk_generic_events_all.3cpc \ 190 target=cpc_npic.3cpc 191link path=usr/share/man/man3cpc/cpc_walk_generic_events_pic.3cpc \ 192 target=cpc_npic.3cpc 193link path=usr/share/man/man3cpc/cpc_walk_names.3cpc target=cpc_getcpuver.3cpc 194link path=usr/share/man/man3cpc/cpc_walk_requests.3cpc \ 195 target=cpc_set_create.3cpc 196link path=usr/share/man/man3cpc/pctx_create.3cpc target=pctx_capture.3cpc 197link path=usr/share/man/man3cpc/pctx_release.3cpc target=pctx_capture.3cpc 198link path=usr/share/man/man3cpc/pctx_run.3cpc target=pctx_capture.3cpc 199