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