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# 25 26# 27# The default for payload-bearing actions in this package is to appear in the 28# global zone only. See the include file for greater detail, as well as 29# information about overriding the defaults. 30# 31<include global_zone_only_component> 32set name=pkg.fmri value=pkg:/system/kernel/cpu-counters@$(PKGVERS) 33set name=pkg.description value="Kernel support for CPU Performance Counters" 34set name=pkg.summary value="CPU Performance Counter driver" 35set name=info.classification value=org.opensolaris.category.2008:System/Core 36set name=variant.arch value=$(ARCH) 37dir path=platform group=sys 38$(i386_ONLY)dir path=platform/i86pc group=sys 39$(i386_ONLY)dir path=platform/i86pc/kernel group=sys 40$(i386_ONLY)dir path=platform/i86pc/kernel/drv group=sys 41$(i386_ONLY)dir path=platform/i86pc/kernel/drv/$(ARCH64) group=sys 42$(i386_ONLY)dir path=platform/i86pc/kernel/sys group=sys 43$(i386_ONLY)dir path=platform/i86pc/kernel/sys/$(ARCH64) group=sys 44$(sparc_ONLY)dir path=platform/sun4u group=sys 45$(sparc_ONLY)dir path=platform/sun4u/kernel group=sys 46$(sparc_ONLY)dir path=platform/sun4u/kernel/drv group=sys 47$(sparc_ONLY)dir path=platform/sun4u/kernel/drv/$(ARCH64) group=sys 48$(sparc_ONLY)dir path=platform/sun4u/kernel/sys group=sys 49$(sparc_ONLY)dir path=platform/sun4u/kernel/sys/$(ARCH64) group=sys 50$(sparc_ONLY)dir path=platform/sun4v group=sys 51$(sparc_ONLY)dir path=platform/sun4v/kernel group=sys 52$(sparc_ONLY)dir path=platform/sun4v/kernel/drv group=sys 53$(sparc_ONLY)dir path=platform/sun4v/kernel/drv/$(ARCH64) group=sys 54$(sparc_ONLY)dir path=platform/sun4v/kernel/sys group=sys 55$(sparc_ONLY)dir path=platform/sun4v/kernel/sys/$(ARCH64) group=sys 56driver name=cpc perms="shared 0666 root sys" 57$(i386_ONLY)file path=platform/i86pc/kernel/drv/$(ARCH64)/cpc group=sys 58$(i386_ONLY)file path=platform/i86pc/kernel/drv/cpc.conf group=sys 59$(sparc_ONLY)file path=platform/sun4u/kernel/drv/$(ARCH64)/cpc group=sys 60$(sparc_ONLY)file path=platform/sun4u/kernel/drv/cpc.conf group=sys 61$(sparc_ONLY)file path=platform/sun4v/kernel/drv/$(ARCH64)/cpc group=sys 62$(sparc_ONLY)file path=platform/sun4v/kernel/drv/cpc.conf group=sys 63$(i386_ONLY)hardlink path=platform/i86pc/kernel/sys/$(ARCH64)/cpc \ 64 target=../../drv/$(ARCH64)/cpc 65$(sparc_ONLY)hardlink path=platform/sun4u/kernel/sys/$(ARCH64)/cpc \ 66 target=../../drv/$(ARCH64)/cpc 67$(sparc_ONLY)hardlink path=platform/sun4v/kernel/sys/$(ARCH64)/cpc \ 68 target=../../drv/$(ARCH64)/cpc 69$(i386_ONLY)legacy pkg=SUNWcpc.i arch=$(ARCH).i86pc \ 70 desc="Kernel support for CPU Performance Counters" \ 71 name="CPU Performance Counter driver" 72$(sparc_ONLY)legacy pkg=SUNWcpc.u arch=$(ARCH).sun4u \ 73 desc="Kernel support for CPU Performance Counters" \ 74 name="CPU Performance Counter driver" 75$(sparc_ONLY)legacy pkg=SUNWcpc.v arch=$(ARCH).sun4v \ 76 desc="Kernel support for CPU Performance Counters" \ 77 name="CPU Performance Counter driver" 78license cr_Sun license=cr_Sun 79license lic_CDDL license=lic_CDDL 80