1ead1f93eSLiane Praza# 2ead1f93eSLiane Praza# CDDL HEADER START 3ead1f93eSLiane Praza# 4ead1f93eSLiane Praza# The contents of this file are subject to the terms of the 5ead1f93eSLiane Praza# Common Development and Distribution License (the "License"). 6ead1f93eSLiane Praza# You may not use this file except in compliance with the License. 7ead1f93eSLiane Praza# 8ead1f93eSLiane Praza# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9ead1f93eSLiane Praza# or http://www.opensolaris.org/os/licensing. 10ead1f93eSLiane Praza# See the License for the specific language governing permissions 11ead1f93eSLiane Praza# and limitations under the License. 12ead1f93eSLiane Praza# 13ead1f93eSLiane Praza# When distributing Covered Code, include this CDDL HEADER in each 14ead1f93eSLiane Praza# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15ead1f93eSLiane Praza# If applicable, add the following below this CDDL HEADER, with the 16ead1f93eSLiane Praza# fields enclosed by brackets "[]" replaced with your own identifying 17ead1f93eSLiane Praza# information: Portions Copyright [yyyy] [name of copyright owner] 18ead1f93eSLiane Praza# 19ead1f93eSLiane Praza# CDDL HEADER END 20ead1f93eSLiane Praza# 21ead1f93eSLiane Praza 22ead1f93eSLiane Praza# 23ebbab6bbSDan Price# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24*a9478106SYuri Pankov# Copyright 2012 Nexenta Systems, Inc. All rights reserved. 25ead1f93eSLiane Praza# 26ead1f93eSLiane Praza 27ead1f93eSLiane Prazaset name=pkg.fmri value=pkg:/diagnostic/cpu-counters@$(PKGVERS) 28ebbab6bbSDan Priceset name=pkg.description \ 29ebbab6bbSDan Price value="CPU Performance Counter libraries and utilities" 30ead1f93eSLiane Prazaset name=pkg.summary value="CPU Performance Counter libraries and utilities" 31ead1f93eSLiane Prazaset name=info.classification value=org.opensolaris.category.2008:System/Core 32ead1f93eSLiane Prazaset name=variant.arch value=$(ARCH) 33ead1f93eSLiane Prazadir path=usr group=sys 34ead1f93eSLiane Prazadir path=usr/bin 35ead1f93eSLiane Praza$(i386_ONLY)dir path=usr/bin/$(ARCH32) 36ead1f93eSLiane Prazadir path=usr/bin/$(ARCH64) 37ead1f93eSLiane Prazadir path=usr/include 38ead1f93eSLiane Prazadir path=usr/include/sys 39ead1f93eSLiane Prazadir path=usr/kernel group=sys 40ead1f93eSLiane Prazadir path=usr/kernel/pcbe group=sys 41ead1f93eSLiane Prazadir path=usr/kernel/pcbe/$(ARCH64) group=sys 42ead1f93eSLiane Prazadir path=usr/lib 43ead1f93eSLiane Prazadir path=usr/lib/$(ARCH64) 44ead1f93eSLiane Prazadir path=usr/sbin 45c10c16deSRichard Lowedir path=usr/share/man/man1 46c10c16deSRichard Lowedir path=usr/share/man/man1m 47c10c16deSRichard Lowedir path=usr/share/man/man3cpc 48c10c16deSRichard Lowedir path=usr/share/man/man3lib 49ead1f93eSLiane Praza$(i386_ONLY)file path=usr/bin/$(ARCH32)/cputrack mode=0555 50ead1f93eSLiane Prazafile path=usr/bin/$(ARCH64)/cputrack mode=0555 51ead1f93eSLiane Prazafile path=usr/include/libcpc.h 52ead1f93eSLiane Prazafile path=usr/include/libpctx.h 53ead1f93eSLiane Praza$(sparc_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.6 group=sys mode=0755 54ead1f93eSLiane Praza$(sparc_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.62 group=sys mode=0755 55ead1f93eSLiane Praza$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.AuthenticAMD group=sys \ 56ead1f93eSLiane Praza mode=0755 57ead1f93eSLiane Praza$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.15 group=sys \ 58ead1f93eSLiane Praza mode=0755 59ead1f93eSLiane Praza$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6 group=sys \ 60ead1f93eSLiane Praza mode=0755 61ebbab6bbSDan Price$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.15 \ 62ebbab6bbSDan Price group=sys mode=0755 63ead1f93eSLiane Praza$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.AuthenticAMD group=sys mode=0755 64ead1f93eSLiane Praza$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.15 group=sys mode=0755 65ead1f93eSLiane Praza$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6 group=sys mode=0755 66ebbab6bbSDan Price$(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6.15 group=sys \ 67ebbab6bbSDan Price mode=0755 68ead1f93eSLiane Prazafile path=usr/lib/$(ARCH64)/libcpc.so.1 69ead1f93eSLiane Prazafile path=usr/lib/$(ARCH64)/libpctx.so.1 70ead1f93eSLiane Prazafile path=usr/lib/$(ARCH64)/llib-lcpc.ln 71ead1f93eSLiane Prazafile path=usr/lib/$(ARCH64)/llib-lpctx.ln 72ead1f93eSLiane Prazafile path=usr/lib/libcpc.so.1 73ead1f93eSLiane Prazafile path=usr/lib/libpctx.so.1 74ead1f93eSLiane Prazafile path=usr/lib/llib-lcpc 75ead1f93eSLiane Prazafile path=usr/lib/llib-lcpc.ln 76ead1f93eSLiane Prazafile path=usr/lib/llib-lpctx 77ead1f93eSLiane Prazafile path=usr/lib/llib-lpctx.ln 78ead1f93eSLiane Prazafile path=usr/sbin/cpustat mode=0555 79c10c16deSRichard Lowefile path=usr/share/man/man1/cputrack.1 80c10c16deSRichard Lowefile path=usr/share/man/man1m/cpustat.1m 81c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc.3cpc 82c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_access.3cpc 83c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_bind_curlwp.3cpc 84c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_bind_event.3cpc 85c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_buf_create.3cpc 86c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_count_usr_events.3cpc 87c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_enable.3cpc 88c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_event.3cpc 89c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_event_diff.3cpc 90c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_getcpuver.3cpc 91c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_npic.3cpc 92c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_open.3cpc 93c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_pctx_bind_event.3cpc 94c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_set_create.3cpc 95c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_seterrfn.3cpc 96c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_seterrhndlr.3cpc 97c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_shared_open.3cpc 98c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_strtoevent.3cpc 99c10c16deSRichard Lowefile path=usr/share/man/man3cpc/cpc_version.3cpc 100c10c16deSRichard Lowefile path=usr/share/man/man3cpc/generic_events.3cpc 101c10c16deSRichard Lowefile path=usr/share/man/man3cpc/pctx_capture.3cpc 102c10c16deSRichard Lowefile path=usr/share/man/man3cpc/pctx_set_events.3cpc 103c10c16deSRichard Lowefile path=usr/share/man/man3lib/libcpc.3lib 104c10c16deSRichard Lowefile path=usr/share/man/man3lib/libpctx.3lib 105ead1f93eSLiane Prazahardlink path=usr/bin/cputrack target=../lib/isaexec 106ead1f93eSLiane Praza$(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.23 target=pcbe.62 107ead1f93eSLiane Praza$(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.7 target=pcbe.4.6 108ead1f93eSLiane Praza$(i386_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.5 \ 109ead1f93eSLiane Praza target=pcbe.GenuineIntel.6 110ead1f93eSLiane Praza$(i386_ONLY)hardlink path=usr/kernel/pcbe/pcbe.GenuineIntel.5 \ 111ead1f93eSLiane Praza target=pcbe.GenuineIntel.6 11271e464e5SPeter Dennis - Sustaining Engineerlegacy pkg=SUNWcpcu desc="CPU Performance Counter libraries and utilities" \ 11371e464e5SPeter Dennis - Sustaining Engineer name="CPU Performance Counter libraries and utilities" 114ead1f93eSLiane Prazalicense cr_Sun license=cr_Sun 115ead1f93eSLiane Prazalicense lic_CDDL license=lic_CDDL 1165084e753SMark J. Nelson$(i386_ONLY)license usr/src/uts/intel/pcbe/THIRDPARTYLICENSE \ 1175084e753SMark J. Nelson license=usr/src/uts/intel/pcbe/THIRDPARTYLICENSE 1185084e753SMark J. Nelson$(sparc_ONLY)license usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE \ 1195084e753SMark J. Nelson license=usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE 120ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.23 \ 121ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 122ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.26 \ 123ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 124ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.28 \ 125ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 126ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.29 \ 127ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 128ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.30 \ 129ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 130ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.31 \ 131ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 132ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.37 \ 133ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 134ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.44 \ 135ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 136ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.46 \ 137ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 138ac13ce24SAdrian Frost$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.47 \ 139ac13ce24SAdrian Frost target=pcbe.GenuineIntel.6.15 140ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.23 \ 141ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 142ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.26 \ 143ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 144ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.28 \ 145ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 146ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.29 \ 147ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 148ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.30 \ 149ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 150ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.31 \ 151ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 152ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.37 \ 153ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 154ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.44 \ 155ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 156ead1f93eSLiane Praza$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.46 \ 157ead1f93eSLiane Praza target=pcbe.GenuineIntel.6.15 158ac13ce24SAdrian Frost$(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.47 \ 159ac13ce24SAdrian Frost target=pcbe.GenuineIntel.6.15 160ead1f93eSLiane Prazalink path=usr/lib/$(ARCH64)/libcpc.so target=./libcpc.so.1 161ead1f93eSLiane Prazalink path=usr/lib/$(ARCH64)/libpctx.so target=./libpctx.so.1 162ead1f93eSLiane Prazalink path=usr/lib/libcpc.so target=./libcpc.so.1 163ead1f93eSLiane Prazalink path=usr/lib/libpctx.so target=./libpctx.so.1 164*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_bind_cpu.3cpc target=cpc_bind_curlwp.3cpc 165*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_bind_pctx.3cpc target=cpc_bind_curlwp.3cpc 166*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_add.3cpc target=cpc_buf_create.3cpc 167*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_copy.3cpc target=cpc_buf_create.3cpc 168*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_destroy.3cpc \ 169*a9478106SYuri Pankov target=cpc_buf_create.3cpc 170*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_get.3cpc target=cpc_buf_create.3cpc 171*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_hrtime.3cpc target=cpc_buf_create.3cpc 172*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_set.3cpc target=cpc_buf_create.3cpc 173*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_sub.3cpc target=cpc_buf_create.3cpc 174*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_tick.3cpc target=cpc_buf_create.3cpc 175*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_buf_zero.3cpc target=cpc_buf_create.3cpc 176*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_caps.3cpc target=cpc_npic.3cpc 177*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_cciname.3cpc target=cpc_npic.3cpc 178*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_close.3cpc target=cpc_open.3cpc 179*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_count_sys_events.3cpc \ 180*a9478106SYuri Pankov target=cpc_count_usr_events.3cpc 181*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_cpuref.3cpc target=cpc_npic.3cpc 182*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_disable.3cpc target=cpc_enable.3cpc 183*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_event_accum.3cpc \ 184*a9478106SYuri Pankov target=cpc_event_diff.3cpc 185*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_eventtostr.3cpc target=cpc_strtoevent.3cpc 186*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_getcciname.3cpc target=cpc_getcpuver.3cpc 187*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_getcpuref.3cpc target=cpc_getcpuver.3cpc 188*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_getnpic.3cpc target=cpc_getcpuver.3cpc 189*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_getusage.3cpc target=cpc_getcpuver.3cpc 190*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_pctx_invalidate.3cpc \ 191*a9478106SYuri Pankov target=cpc_pctx_bind_event.3cpc 192*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_pctx_rele.3cpc \ 193*a9478106SYuri Pankov target=cpc_pctx_bind_event.3cpc 194*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_pctx_take_sample.3cpc \ 195*a9478106SYuri Pankov target=cpc_pctx_bind_event.3cpc 196*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_rele.3cpc target=cpc_bind_event.3cpc 197*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_request_preset.3cpc \ 198*a9478106SYuri Pankov target=cpc_bind_curlwp.3cpc 199*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_set_add_request.3cpc \ 200*a9478106SYuri Pankov target=cpc_set_create.3cpc 201*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_set_destroy.3cpc \ 202*a9478106SYuri Pankov target=cpc_set_create.3cpc 203*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_set_restart.3cpc \ 204*a9478106SYuri Pankov target=cpc_bind_curlwp.3cpc 205*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_set_sample.3cpc target=cpc_buf_create.3cpc 206*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_shared_bind_event.3cpc \ 207*a9478106SYuri Pankov target=cpc_shared_open.3cpc 208*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_shared_close.3cpc \ 209*a9478106SYuri Pankov target=cpc_shared_open.3cpc 210*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_shared_rele.3cpc \ 211*a9478106SYuri Pankov target=cpc_shared_open.3cpc 212*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_shared_take_sample.3cpc \ 213*a9478106SYuri Pankov target=cpc_shared_open.3cpc 214*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_take_sample.3cpc \ 215*a9478106SYuri Pankov target=cpc_bind_event.3cpc 216*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_unbind.3cpc target=cpc_bind_curlwp.3cpc 217*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_attrs.3cpc target=cpc_npic.3cpc 218*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_events_all.3cpc target=cpc_npic.3cpc 219*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_events_pic.3cpc target=cpc_npic.3cpc 220*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_generic_events_all.3cpc \ 221*a9478106SYuri Pankov target=cpc_npic.3cpc 222*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_generic_events_pic.3cpc \ 223*a9478106SYuri Pankov target=cpc_npic.3cpc 224*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_names.3cpc target=cpc_getcpuver.3cpc 225*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/cpc_walk_requests.3cpc \ 226*a9478106SYuri Pankov target=cpc_set_create.3cpc 227*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/pctx_create.3cpc target=pctx_capture.3cpc 228*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/pctx_release.3cpc target=pctx_capture.3cpc 229*a9478106SYuri Pankovlink path=usr/share/man/man3cpc/pctx_run.3cpc target=pctx_capture.3cpc 230