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.
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.
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]
23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2012 Nexenta Systems, Inc. All rights reserved.
27 set name=pkg.fmri value=pkg:/diagnostic/cpu-counters@$(PKGVERS)
28 set name=pkg.description \
29 value="CPU Performance Counter libraries and utilities"
30 set name=pkg.summary value="CPU Performance Counter libraries and utilities"
31 set name=info.classification value=org.opensolaris.category.2008:System/Core
32 set name=variant.arch value=$(ARCH)
33 dir path=usr group=sys
35 $(i386_ONLY)dir path=usr/bin/$(ARCH32)
36 dir path=usr/bin/$(ARCH64)
38 dir path=usr/include/sys
39 dir path=usr/kernel group=sys
40 dir path=usr/kernel/pcbe group=sys
42 dir path=usr/lib/$(ARCH64)
44 dir path=usr/share/man/man1
45 dir path=usr/share/man/man1m
46 dir path=usr/share/man/man3cpc
47 dir path=usr/share/man/man3lib
48 $(i386_ONLY)file path=usr/bin/$(ARCH32)/cputrack mode=0555
49 file path=usr/bin/$(ARCH64)/cputrack mode=0555
50 file path=usr/include/libcpc.h
51 file path=usr/include/libpctx.h
52 $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.AuthenticAMD group=sys mode=0755
53 $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.15 group=sys mode=0755
54 $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6 group=sys mode=0755
55 $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6.15 group=sys \
57 file path=usr/lib/$(ARCH64)/libcpc.so.1
58 file path=usr/lib/$(ARCH64)/libpctx.so.1
59 file path=usr/lib/libcpc.so.1
60 file path=usr/lib/libpctx.so.1
61 file path=usr/sbin/cpustat mode=0555
62 file path=usr/share/man/man1/cputrack.1
63 file path=usr/share/man/man1m/cpustat.1m
64 file path=usr/share/man/man3cpc/cpc.3cpc
65 file path=usr/share/man/man3cpc/cpc_access.3cpc
66 file path=usr/share/man/man3cpc/cpc_bind_curlwp.3cpc
67 file path=usr/share/man/man3cpc/cpc_bind_event.3cpc
68 file path=usr/share/man/man3cpc/cpc_buf_create.3cpc
69 file path=usr/share/man/man3cpc/cpc_count_usr_events.3cpc
70 file path=usr/share/man/man3cpc/cpc_enable.3cpc
71 file path=usr/share/man/man3cpc/cpc_event.3cpc
72 file path=usr/share/man/man3cpc/cpc_event_diff.3cpc
73 file path=usr/share/man/man3cpc/cpc_getcpuver.3cpc
74 file path=usr/share/man/man3cpc/cpc_npic.3cpc
75 file path=usr/share/man/man3cpc/cpc_open.3cpc
76 file path=usr/share/man/man3cpc/cpc_pctx_bind_event.3cpc
77 file path=usr/share/man/man3cpc/cpc_set_create.3cpc
78 file path=usr/share/man/man3cpc/cpc_seterrfn.3cpc
79 file path=usr/share/man/man3cpc/cpc_seterrhndlr.3cpc
80 file path=usr/share/man/man3cpc/cpc_shared_open.3cpc
81 file path=usr/share/man/man3cpc/cpc_strtoevent.3cpc
82 file path=usr/share/man/man3cpc/cpc_version.3cpc
83 file path=usr/share/man/man3cpc/generic_events.3cpc
84 file path=usr/share/man/man3cpc/pctx_capture.3cpc
85 file path=usr/share/man/man3cpc/pctx_set_events.3cpc
86 file path=usr/share/man/man3lib/libcpc.3lib
87 file path=usr/share/man/man3lib/libpctx.3lib
88 hardlink path=usr/bin/cputrack target=../lib/isaexec
89 $(i386_ONLY)hardlink path=usr/kernel/pcbe/pcbe.GenuineIntel.5 \
90 target=pcbe.GenuineIntel.6
91 license cr_Sun license=cr_Sun
92 license lic_CDDL license=lic_CDDL
93 $(i386_ONLY)license usr/src/uts/intel/pcbe/THIRDPARTYLICENSE \
94 license=usr/src/uts/intel/pcbe/THIRDPARTYLICENSE
95 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.23 \
96 target=pcbe.GenuineIntel.6.15
97 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.26 \
98 target=pcbe.GenuineIntel.6.15
99 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.28 \
100 target=pcbe.GenuineIntel.6.15
101 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.29 \
102 target=pcbe.GenuineIntel.6.15
103 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.30 \
104 target=pcbe.GenuineIntel.6.15
105 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.31 \
106 target=pcbe.GenuineIntel.6.15
107 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.37 \
108 target=pcbe.GenuineIntel.6.15
109 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.44 \
110 target=pcbe.GenuineIntel.6.15
111 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.46 \
112 target=pcbe.GenuineIntel.6.15
113 $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.47 \
114 target=pcbe.GenuineIntel.6.15
115 link path=usr/lib/$(ARCH64)/libcpc.so target=./libcpc.so.1
116 link path=usr/lib/$(ARCH64)/libpctx.so target=./libpctx.so.1
117 link path=usr/lib/libcpc.so target=./libcpc.so.1
118 link path=usr/lib/libpctx.so target=./libpctx.so.1