tst.profilehz.d revision 302408
1212793Sdim/* 2212793Sdim * CDDL HEADER START 3212793Sdim * 4212793Sdim * The contents of this file are subject to the terms of the 5212793Sdim * Common Development and Distribution License (the "License"). 6212793Sdim * You may not use this file except in compliance with the License. 7212793Sdim * 8212793Sdim * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9212793Sdim * or http://www.opensolaris.org/os/licensing. 10212793Sdim * See the License for the specific language governing permissions 11212793Sdim * and limitations under the License. 12212793Sdim * 13212793Sdim * When distributing Covered Code, include this CDDL HEADER in each 14221345Sdim * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15234353Sdim * If applicable, add the following below this CDDL HEADER, with the 16234353Sdim * fields enclosed by brackets "[]" replaced with your own identifying 17234353Sdim * information: Portions Copyright [yyyy] [name of copyright owner] 18234353Sdim * 19234353Sdim * CDDL HEADER END 20212793Sdim */ 21212793Sdim 22212793Sdim/* 23212793Sdim * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24234353Sdim * Use is subject to license terms. 25212793Sdim */ 26212793Sdim 27218893Sdim#pragma ident "%Z%%M% %I% %E% SMI" 28226633Sdim 29212793Sdim/* 30212793Sdim * ASSERTION: 31212793Sdim * 32212793Sdim * Simple profile-hz test. 33212793Sdim * 34212793Sdim * SECTION: profile Provider/profile-n probes 35212793Sdim * 36234353Sdim */ 37234353Sdim 38234353Sdim 39234353Sdim#pragma D option quiet 40234353Sdim 41234353Sdimprofile-100hz 42234353Sdim{ 43234353Sdim printf("This test is a simple profile-hz provider test"); 44234353Sdim exit(0); 45234353Sdim} 46234353Sdim