err.D_PDESC_ZERO.nonexistentevent.d revision 8803:8c01b39012c9
187182Salfred/* 287182Salfred * CDDL HEADER START 387182Salfred * 487182Salfred * The contents of this file are subject to the terms of the 587182Salfred * Common Development and Distribution License (the "License"). 687182Salfred * You may not use this file except in compliance with the License. 787182Salfred * 887182Salfred * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 987182Salfred * or http://www.opensolaris.org/os/licensing. 1087182Salfred * See the License for the specific language governing permissions 1187182Salfred * and limitations under the License. 1287182Salfred * 1387182Salfred * When distributing Covered Code, include this CDDL HEADER in each 1487182Salfred * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1587182Salfred * If applicable, add the following below this CDDL HEADER, with the 1687182Salfred * fields enclosed by brackets "[]" replaced with your own identifying 1787182Salfred * information: Portions Copyright [yyyy] [name of copyright owner] 1887182Salfred * 1987182Salfred * CDDL HEADER END 2087182Salfred */ 2187182Salfred 2287182Salfred/* 2387182Salfred * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2487182Salfred * Use is subject to license terms. 2587182Salfred */ 2687182Salfred 2787182Salfred/* 2887182Salfred * Tests that attempting to enable a probe containing a non existent event 2987182Salfred * will fail. 3087182Salfred */ 3187182Salfred 3287182SalfredBEGIN 3387182Salfred{ 3487182Salfred exit(0); 3587182Salfred} 3687182Salfred 3787857Srucpc:::PAPI_cpc_bad-all-10000 3887182Salfred{ 3987857Sru @[probename] = count(); 4087182Salfred} 4187182Salfred