1210284Sjmallett/* 2232812Sjmallett * CDDL HEADER START 3215990Sjmallett * 4210284Sjmallett * The contents of this file are subject to the terms of the 5210284Sjmallett * Common Development and Distribution License (the "License"). 6215990Sjmallett * You may not use this file except in compliance with the License. 7215990Sjmallett * 8215990Sjmallett * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9210284Sjmallett * or http://www.opensolaris.org/os/licensing. 10215990Sjmallett * See the License for the specific language governing permissions 11215990Sjmallett * and limitations under the License. 12210284Sjmallett * 13215990Sjmallett * When distributing Covered Code, include this CDDL HEADER in each 14215990Sjmallett * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15215990Sjmallett * If applicable, add the following below this CDDL HEADER, with the 16215990Sjmallett * fields enclosed by brackets "[]" replaced with your own identifying 17215990Sjmallett * information: Portions Copyright [yyyy] [name of copyright owner] 18232812Sjmallett * 19215990Sjmallett * CDDL HEADER END 20215990Sjmallett */ 21215990Sjmallett 22215990Sjmallett/* 23215990Sjmallett * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24215990Sjmallett * Use is subject to license terms. 25215990Sjmallett */ 26215990Sjmallett 27215990Sjmallett#pragma ident "%Z%%M% %I% %E% SMI" 28215990Sjmallett 29232812Sjmallett/* 30215990Sjmallett * ASSERTION: 31215990Sjmallett * Simple profile provider test. 32215990Sjmallett * call profile<provider name>; called with no ":". 33215990Sjmallett * should fail with compilation error. 34215990Sjmallett * 35215990Sjmallett * SECTION: profile Provider/tick-n probes 36215990Sjmallett * 37215990Sjmallett */ 38210284Sjmallett 39210284Sjmallett#pragma D option quiet 40210284Sjmallett 41210284SjmallettBEGIN 42210284Sjmallett{ 43210284Sjmallett i = 0; 44210284Sjmallett} 45215990Sjmallett 46210284Sjmallettprofiletick-1sec 47210284Sjmallett{ 48210284Sjmallett trace(i); 49210284Sjmallett} 50210284Sjmallett