1234285Sdim/* 2234285Sdim * CDDL HEADER START 3234285Sdim * 4234285Sdim * The contents of this file are subject to the terms of the 5234285Sdim * Common Development and Distribution License (the "License"). 6234285Sdim * You may not use this file except in compliance with the License. 7234285Sdim * 8234285Sdim * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9234285Sdim * or http://www.opensolaris.org/os/licensing. 10234285Sdim * See the License for the specific language governing permissions 11234285Sdim * and limitations under the License. 12234285Sdim * 13234285Sdim * When distributing Covered Code, include this CDDL HEADER in each 14234285Sdim * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15234285Sdim * If applicable, add the following below this CDDL HEADER, with the 16234285Sdim * fields enclosed by brackets "[]" replaced with your own identifying 17234285Sdim * information: Portions Copyright [yyyy] [name of copyright owner] 18234285Sdim * 19234285Sdim * CDDL HEADER END 20234285Sdim */ 21234285Sdim 22234285Sdim/* 23234285Sdim * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24234285Sdim * Use is subject to license terms. 25234285Sdim */ 26234285Sdim 27234285Sdim#pragma ident "%Z%%M% %I% %E% SMI" 28234285Sdim 29234285Sdim/* 30234285Sdim * ASSERTION: test that we can trace every instruction safely 31234285Sdim * 32234285Sdim * SECTION: pid provider 33234285Sdim * 34234285Sdim */ 35234285Sdim 36234285SdimBEGIN 37234285Sdim{ 38234285Sdim /* 39234285Sdim * Let's just do this for 2 seconds. 40234285Sdim */ 41234285Sdim timeout = timestamp + 2000000000; 42234285Sdim} 43234285Sdim 44234285Sdimpid$1:a.out:: 45234285Sdim{} 46234285Sdim 47234285Sdimprofile:::tick-4 48234285Sdim/timestamp > timeout/ 49234285Sdim{ 50234285Sdim exit(0); 51234285Sdim} 52234285Sdim