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# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 26# Copyright 2021 Oxide Computer Company 27# 28 29set name=pkg.fmri value=pkg:/diagnostic/cpu-counters@$(PKGVERS) 30set name=pkg.summary value="CPU Performance Counter libraries and utilities" 31set name=pkg.description value="CPU Performance Counter libraries and utilities" 32set name=info.classification value=org.opensolaris.category.2008:System/Core 33set name=variant.arch value=$(ARCH) 34dir path=usr group=sys 35dir path=usr/bin 36$(i386_ONLY)dir path=usr/bin/$(ARCH32) 37$(i386_ONLY)file path=usr/bin/$(ARCH32)/cputrack mode=0555 38dir path=usr/bin/$(ARCH64) 39file path=usr/bin/$(ARCH64)/cputrack mode=0555 40hardlink path=usr/bin/cputrack target=../lib/isaexec 41dir path=usr/include 42file path=usr/include/libcpc.h 43file path=usr/include/libpctx.h 44dir path=usr/include/sys 45dir path=usr/kernel group=sys 46dir path=usr/kernel/pcbe group=sys 47dir path=usr/kernel/pcbe/$(ARCH64) group=sys 48$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.AuthenticAMD group=sys \ 49 mode=0755 50$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.15 group=sys \ 51 mode=0755 52$(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.15 \ 53 group=sys mode=0755 54$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.23 \ 55 target=pcbe.GenuineIntel.6.15 56$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.26 \ 57 target=pcbe.GenuineIntel.6.15 58$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.28 \ 59 target=pcbe.GenuineIntel.6.15 60$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.29 \ 61 target=pcbe.GenuineIntel.6.15 62$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.30 \ 63 target=pcbe.GenuineIntel.6.15 64$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.31 \ 65 target=pcbe.GenuineIntel.6.15 66$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.37 \ 67 target=pcbe.GenuineIntel.6.15 68$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.44 \ 69 target=pcbe.GenuineIntel.6.15 70$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.46 \ 71 target=pcbe.GenuineIntel.6.15 72$(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.47 \ 73 target=pcbe.GenuineIntel.6.15 74$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.122 \ 75 target=pcbe.GenuineIntel.6.15 76$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.126 \ 77 target=pcbe.GenuineIntel.6.15 78$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.134 \ 79 target=pcbe.GenuineIntel.6.15 80$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.140 \ 81 target=pcbe.GenuineIntel.6.15 82$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.141 \ 83 target=pcbe.GenuineIntel.6.15 84$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.142 \ 85 target=pcbe.GenuineIntel.6.15 86$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.158 \ 87 target=pcbe.GenuineIntel.6.15 88$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.165 \ 89 target=pcbe.GenuineIntel.6.15 90$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.166 \ 91 target=pcbe.GenuineIntel.6.15 92$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.38 \ 93 target=pcbe.GenuineIntel.6.15 94$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.39 \ 95 target=pcbe.GenuineIntel.6.15 96$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.42 \ 97 target=pcbe.GenuineIntel.6.15 98$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.45 \ 99 target=pcbe.GenuineIntel.6.15 100$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.53 \ 101 target=pcbe.GenuineIntel.6.15 102$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.54 \ 103 target=pcbe.GenuineIntel.6.15 104$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.55 \ 105 target=pcbe.GenuineIntel.6.15 106$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.58 \ 107 target=pcbe.GenuineIntel.6.15 108$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.60 \ 109 target=pcbe.GenuineIntel.6.15 110$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.61 \ 111 target=pcbe.GenuineIntel.6.15 112$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.62 \ 113 target=pcbe.GenuineIntel.6.15 114$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.63 \ 115 target=pcbe.GenuineIntel.6.15 116$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.69 \ 117 target=pcbe.GenuineIntel.6.15 118$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.70 \ 119 target=pcbe.GenuineIntel.6.15 120$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.71 \ 121 target=pcbe.GenuineIntel.6.15 122$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.76 \ 123 target=pcbe.GenuineIntel.6.15 124$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.77 \ 125 target=pcbe.GenuineIntel.6.15 126$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.78 \ 127 target=pcbe.GenuineIntel.6.15 128$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.79 \ 129 target=pcbe.GenuineIntel.6.15 130$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.85 \ 131 target=pcbe.GenuineIntel.6.15 132$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.86 \ 133 target=pcbe.GenuineIntel.6.15 134$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.92 \ 135 target=pcbe.GenuineIntel.6.15 136$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.94 \ 137 target=pcbe.GenuineIntel.6.15 138$(i386_ONLY)link path=usr/kernel/pcbe/amd64/pcbe.GenuineIntel.6.95 \ 139 target=pcbe.GenuineIntel.6.15 140dir path=usr/lib 141dir path=usr/lib/$(ARCH64) 142link path=usr/lib/$(ARCH64)/libcpc.so target=./libcpc.so.1 143file path=usr/lib/$(ARCH64)/libcpc.so.1 144link path=usr/lib/$(ARCH64)/libpctx.so target=./libpctx.so.1 145file path=usr/lib/$(ARCH64)/libpctx.so.1 146link path=usr/lib/libcpc.so target=./libcpc.so.1 147file path=usr/lib/libcpc.so.1 148link path=usr/lib/libpctx.so target=./libpctx.so.1 149file path=usr/lib/libpctx.so.1 150dir path=usr/sbin 151file path=usr/sbin/cpustat mode=0555 152dir path=usr/share/man/man1 153file path=usr/share/man/man1/cputrack.1 154dir path=usr/share/man/man3cpc 155$(i386_ONLY)file path=usr/share/man/man3cpc/amd_f17h_zen1_events.3cpc 156$(i386_ONLY)file path=usr/share/man/man3cpc/amd_f17h_zen2_events.3cpc 157$(i386_ONLY)file path=usr/share/man/man3cpc/amd_f19h_zen3_events.3cpc 158$(i386_ONLY)file path=usr/share/man/man3cpc/bdw_de_events.3cpc 159$(i386_ONLY)file path=usr/share/man/man3cpc/bdw_events.3cpc 160$(i386_ONLY)file path=usr/share/man/man3cpc/bdx_events.3cpc 161$(i386_ONLY)file path=usr/share/man/man3cpc/bnl_events.3cpc 162$(i386_ONLY)file path=usr/share/man/man3cpc/clx_events.3cpc 163file path=usr/share/man/man3cpc/cpc.3cpc 164file path=usr/share/man/man3cpc/cpc_access.3cpc 165link path=usr/share/man/man3cpc/cpc_bind_cpu.3cpc target=cpc_bind_curlwp.3cpc 166file path=usr/share/man/man3cpc/cpc_bind_curlwp.3cpc 167file path=usr/share/man/man3cpc/cpc_bind_event.3cpc 168link path=usr/share/man/man3cpc/cpc_bind_pctx.3cpc target=cpc_bind_curlwp.3cpc 169link path=usr/share/man/man3cpc/cpc_buf_add.3cpc target=cpc_buf_create.3cpc 170link path=usr/share/man/man3cpc/cpc_buf_copy.3cpc target=cpc_buf_create.3cpc 171file path=usr/share/man/man3cpc/cpc_buf_create.3cpc 172link path=usr/share/man/man3cpc/cpc_buf_destroy.3cpc target=cpc_buf_create.3cpc 173link path=usr/share/man/man3cpc/cpc_buf_get.3cpc target=cpc_buf_create.3cpc 174link path=usr/share/man/man3cpc/cpc_buf_hrtime.3cpc target=cpc_buf_create.3cpc 175link path=usr/share/man/man3cpc/cpc_buf_set.3cpc target=cpc_buf_create.3cpc 176link path=usr/share/man/man3cpc/cpc_buf_sub.3cpc target=cpc_buf_create.3cpc 177link path=usr/share/man/man3cpc/cpc_buf_tick.3cpc target=cpc_buf_create.3cpc 178link path=usr/share/man/man3cpc/cpc_buf_zero.3cpc target=cpc_buf_create.3cpc 179link path=usr/share/man/man3cpc/cpc_caps.3cpc target=cpc_npic.3cpc 180link path=usr/share/man/man3cpc/cpc_cciname.3cpc target=cpc_npic.3cpc 181link path=usr/share/man/man3cpc/cpc_close.3cpc target=cpc_open.3cpc 182link path=usr/share/man/man3cpc/cpc_count_sys_events.3cpc \ 183 target=cpc_count_usr_events.3cpc 184file path=usr/share/man/man3cpc/cpc_count_usr_events.3cpc 185link path=usr/share/man/man3cpc/cpc_cpuref.3cpc target=cpc_npic.3cpc 186link path=usr/share/man/man3cpc/cpc_disable.3cpc target=cpc_enable.3cpc 187file path=usr/share/man/man3cpc/cpc_enable.3cpc 188file path=usr/share/man/man3cpc/cpc_event.3cpc 189link path=usr/share/man/man3cpc/cpc_event_accum.3cpc target=cpc_event_diff.3cpc 190file path=usr/share/man/man3cpc/cpc_event_diff.3cpc 191link path=usr/share/man/man3cpc/cpc_eventtostr.3cpc target=cpc_strtoevent.3cpc 192link path=usr/share/man/man3cpc/cpc_getcciname.3cpc target=cpc_getcpuver.3cpc 193link path=usr/share/man/man3cpc/cpc_getcpuref.3cpc target=cpc_getcpuver.3cpc 194file path=usr/share/man/man3cpc/cpc_getcpuver.3cpc 195link path=usr/share/man/man3cpc/cpc_getnpic.3cpc target=cpc_getcpuver.3cpc 196link path=usr/share/man/man3cpc/cpc_getusage.3cpc target=cpc_getcpuver.3cpc 197file path=usr/share/man/man3cpc/cpc_npic.3cpc 198file path=usr/share/man/man3cpc/cpc_open.3cpc 199file path=usr/share/man/man3cpc/cpc_pctx_bind_event.3cpc 200link path=usr/share/man/man3cpc/cpc_pctx_invalidate.3cpc \ 201 target=cpc_pctx_bind_event.3cpc 202link path=usr/share/man/man3cpc/cpc_pctx_rele.3cpc \ 203 target=cpc_pctx_bind_event.3cpc 204link path=usr/share/man/man3cpc/cpc_pctx_take_sample.3cpc \ 205 target=cpc_pctx_bind_event.3cpc 206link path=usr/share/man/man3cpc/cpc_rele.3cpc target=cpc_bind_event.3cpc 207link path=usr/share/man/man3cpc/cpc_request_preset.3cpc \ 208 target=cpc_bind_curlwp.3cpc 209link path=usr/share/man/man3cpc/cpc_set_add_request.3cpc \ 210 target=cpc_set_create.3cpc 211file path=usr/share/man/man3cpc/cpc_set_create.3cpc 212link path=usr/share/man/man3cpc/cpc_set_destroy.3cpc target=cpc_set_create.3cpc 213link path=usr/share/man/man3cpc/cpc_set_restart.3cpc target=cpc_bind_curlwp.3cpc 214link path=usr/share/man/man3cpc/cpc_set_sample.3cpc target=cpc_buf_create.3cpc 215file path=usr/share/man/man3cpc/cpc_seterrfn.3cpc 216file path=usr/share/man/man3cpc/cpc_seterrhndlr.3cpc 217link path=usr/share/man/man3cpc/cpc_shared_bind_event.3cpc \ 218 target=cpc_shared_open.3cpc 219link path=usr/share/man/man3cpc/cpc_shared_close.3cpc \ 220 target=cpc_shared_open.3cpc 221file path=usr/share/man/man3cpc/cpc_shared_open.3cpc 222link path=usr/share/man/man3cpc/cpc_shared_rele.3cpc target=cpc_shared_open.3cpc 223link path=usr/share/man/man3cpc/cpc_shared_take_sample.3cpc \ 224 target=cpc_shared_open.3cpc 225file path=usr/share/man/man3cpc/cpc_strtoevent.3cpc 226link path=usr/share/man/man3cpc/cpc_take_sample.3cpc target=cpc_bind_event.3cpc 227link path=usr/share/man/man3cpc/cpc_unbind.3cpc target=cpc_bind_curlwp.3cpc 228file path=usr/share/man/man3cpc/cpc_version.3cpc 229link path=usr/share/man/man3cpc/cpc_walk_attrs.3cpc target=cpc_npic.3cpc 230link path=usr/share/man/man3cpc/cpc_walk_events_all.3cpc target=cpc_npic.3cpc 231link path=usr/share/man/man3cpc/cpc_walk_events_pic.3cpc target=cpc_npic.3cpc 232link path=usr/share/man/man3cpc/cpc_walk_generic_events_all.3cpc \ 233 target=cpc_npic.3cpc 234link path=usr/share/man/man3cpc/cpc_walk_generic_events_pic.3cpc \ 235 target=cpc_npic.3cpc 236link path=usr/share/man/man3cpc/cpc_walk_names.3cpc target=cpc_getcpuver.3cpc 237link path=usr/share/man/man3cpc/cpc_walk_requests.3cpc \ 238 target=cpc_set_create.3cpc 239file path=usr/share/man/man3cpc/generic_events.3cpc 240$(i386_ONLY)file path=usr/share/man/man3cpc/glm_events.3cpc 241$(i386_ONLY)file path=usr/share/man/man3cpc/glp_events.3cpc 242$(i386_ONLY)file path=usr/share/man/man3cpc/hsw_events.3cpc 243$(i386_ONLY)file path=usr/share/man/man3cpc/hsx_events.3cpc 244$(i386_ONLY)file path=usr/share/man/man3cpc/icl_events.3cpc 245$(i386_ONLY)file path=usr/share/man/man3cpc/ivb_events.3cpc 246$(i386_ONLY)file path=usr/share/man/man3cpc/ivt_events.3cpc 247$(i386_ONLY)file path=usr/share/man/man3cpc/jkt_events.3cpc 248$(i386_ONLY)file path=usr/share/man/man3cpc/nhm_ep_events.3cpc 249$(i386_ONLY)file path=usr/share/man/man3cpc/nhm_ex_events.3cpc 250file path=usr/share/man/man3cpc/pctx_capture.3cpc 251link path=usr/share/man/man3cpc/pctx_create.3cpc target=pctx_capture.3cpc 252link path=usr/share/man/man3cpc/pctx_release.3cpc target=pctx_capture.3cpc 253link path=usr/share/man/man3cpc/pctx_run.3cpc target=pctx_capture.3cpc 254file path=usr/share/man/man3cpc/pctx_set_events.3cpc 255$(i386_ONLY)file path=usr/share/man/man3cpc/skl_events.3cpc 256$(i386_ONLY)file path=usr/share/man/man3cpc/skx_events.3cpc 257$(i386_ONLY)file path=usr/share/man/man3cpc/slm_events.3cpc 258$(i386_ONLY)file path=usr/share/man/man3cpc/snb_events.3cpc 259$(i386_ONLY)file path=usr/share/man/man3cpc/snr_events.3cpc 260$(i386_ONLY)file path=usr/share/man/man3cpc/tgl_events.3cpc 261$(i386_ONLY)file path=usr/share/man/man3cpc/wsm_ep_dp_events.3cpc 262$(i386_ONLY)file path=usr/share/man/man3cpc/wsm_ep_sp_events.3cpc 263$(i386_ONLY)file path=usr/share/man/man3cpc/wsm_ex_events.3cpc 264dir path=usr/share/man/man3lib 265file path=usr/share/man/man3lib/libcpc.3lib 266file path=usr/share/man/man3lib/libpctx.3lib 267dir path=usr/share/man/man8 268file path=usr/share/man/man8/cpustat.8 269legacy pkg=SUNWcpcu desc="CPU Performance Counter libraries and utilities" \ 270 name="CPU Performance Counter libraries and utilities" 271license cr_Sun license=cr_Sun 272license lic_CDDL license=lic_CDDL 273$(i386_ONLY)license usr/src/data/perfmon/THIRDPARTYLICENSE \ 274 license=usr/src/data/perfmon/THIRDPARTYLICENSE 275$(i386_ONLY)license usr/src/uts/intel/pcbe/THIRDPARTYLICENSE \ 276 license=usr/src/uts/intel/pcbe/THIRDPARTYLICENSE 277