tst.uid.d revision 272461
1240116Smarcel/* 2240116Smarcel * CDDL HEADER START 3240116Smarcel * 4240116Smarcel * The contents of this file are subject to the terms of the 5240116Smarcel * Common Development and Distribution License (the "License"). 6240116Smarcel * You may not use this file except in compliance with the License. 7240116Smarcel * 8240116Smarcel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9240116Smarcel * or http://www.opensolaris.org/os/licensing. 10240116Smarcel * See the License for the specific language governing permissions 11240116Smarcel * and limitations under the License. 12240116Smarcel * 13240116Smarcel * When distributing Covered Code, include this CDDL HEADER in each 14240116Smarcel * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15240116Smarcel * If applicable, add the following below this CDDL HEADER, with the 16240116Smarcel * fields enclosed by brackets "[]" replaced with your own identifying 17240116Smarcel * information: Portions Copyright [yyyy] [name of copyright owner] 18240116Smarcel * 19240116Smarcel * CDDL HEADER END 20240116Smarcel */ 21240116Smarcel 22240116Smarcel/* 23240116Smarcel * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24240116Smarcel * Use is subject to license terms. 25240116Smarcel */ 26240116Smarcel 27240116Smarcel#pragma ident "%Z%%M% %I% %E% SMI" 28240116Smarcel 29240116Smarcel/* 30240116Smarcel * ASSERTION: 31240116Smarcel * collect uid at every fbt probe and at every firing of a 32240116Smarcel * high-frequency profile probe 33240116Smarcel */ 34240116Smarcel 35240116Smarcelfbt::: 36240116Smarcel{ 37240116Smarcel @a[uid] = count(); 38240116Smarcel} 39240116Smarcel 40240116Smarcelprofile-4999hz 41240116Smarcel{ 42240116Smarcel @a[uid] = count(); 43240116Smarcel} 44240116Smarcel 45240116Smarceltick-1sec 46240116Smarcel/n++ == 10/ 47240116Smarcel{ 48240116Smarcel exit(0); 49} 50