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