1*27fbcf8aSdp /*
2*27fbcf8aSdp  * CDDL HEADER START
3*27fbcf8aSdp  *
4*27fbcf8aSdp  * The contents of this file are subject to the terms of the
5*27fbcf8aSdp  * Common Development and Distribution License (the "License").
6*27fbcf8aSdp  * You may not use this file except in compliance with the License.
7*27fbcf8aSdp  *
8*27fbcf8aSdp  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*27fbcf8aSdp  * or http://www.opensolaris.org/os/licensing.
10*27fbcf8aSdp  * See the License for the specific language governing permissions
11*27fbcf8aSdp  * and limitations under the License.
12*27fbcf8aSdp  *
13*27fbcf8aSdp  * When distributing Covered Code, include this CDDL HEADER in each
14*27fbcf8aSdp  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*27fbcf8aSdp  * If applicable, add the following below this CDDL HEADER, with the
16*27fbcf8aSdp  * fields enclosed by brackets "[]" replaced with your own identifying
17*27fbcf8aSdp  * information: Portions Copyright [yyyy] [name of copyright owner]
18*27fbcf8aSdp  *
19*27fbcf8aSdp  * CDDL HEADER END
20*27fbcf8aSdp  */
21*27fbcf8aSdp 
22*27fbcf8aSdp /*
23*27fbcf8aSdp  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*27fbcf8aSdp  * Use is subject to license terms.
25*27fbcf8aSdp  */
26*27fbcf8aSdp 
27*27fbcf8aSdp /*
28*27fbcf8aSdp  * ASSERTION:
29*27fbcf8aSdp  * 	collect uid at every fbt probe and at every firing of a
30*27fbcf8aSdp  *	high-frequency profile probe
31*27fbcf8aSdp  */
32*27fbcf8aSdp 
33*27fbcf8aSdp fbt:::
34*27fbcf8aSdp {
35*27fbcf8aSdp 	@a[uid] = count();
36*27fbcf8aSdp }
37*27fbcf8aSdp 
38*27fbcf8aSdp profile-4999hz
39*27fbcf8aSdp {
40*27fbcf8aSdp 	@a[uid] = count();
41*27fbcf8aSdp }
42*27fbcf8aSdp 
43*27fbcf8aSdp tick-1sec
44*27fbcf8aSdp /n++ == 10/
45*27fbcf8aSdp {
46*27fbcf8aSdp 	exit(0);
47*27fbcf8aSdp }
48