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