1b9e93c1Jonathan Haslam/*
2b9e93c1Jonathan Haslam * CDDL HEADER START
3b9e93c1Jonathan Haslam *
4b9e93c1Jonathan Haslam * The contents of this file are subject to the terms of the
5b9e93c1Jonathan Haslam * Common Development and Distribution License (the "License").
6b9e93c1Jonathan Haslam * You may not use this file except in compliance with the License.
7b9e93c1Jonathan Haslam *
8b9e93c1Jonathan Haslam * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9b9e93c1Jonathan Haslam * or http://www.opensolaris.org/os/licensing.
10b9e93c1Jonathan Haslam * See the License for the specific language governing permissions
11b9e93c1Jonathan Haslam * and limitations under the License.
12b9e93c1Jonathan Haslam *
13b9e93c1Jonathan Haslam * When distributing Covered Code, include this CDDL HEADER in each
14b9e93c1Jonathan Haslam * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15b9e93c1Jonathan Haslam * If applicable, add the following below this CDDL HEADER, with the
16b9e93c1Jonathan Haslam * fields enclosed by brackets "[]" replaced with your own identifying
17b9e93c1Jonathan Haslam * information: Portions Copyright [yyyy] [name of copyright owner]
18b9e93c1Jonathan Haslam *
19b9e93c1Jonathan Haslam * CDDL HEADER END
20b9e93c1Jonathan Haslam */
21b9e93c1Jonathan Haslam
22b9e93c1Jonathan Haslam/*
23b9e93c1Jonathan Haslam * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24b9e93c1Jonathan Haslam * Use is subject to license terms.
25b9e93c1Jonathan Haslam */
26b9e93c1Jonathan Haslam
27b9e93c1Jonathan Haslam/*
28b9e93c1Jonathan Haslam * Tests that attempting to enable a probe containing a non existent event
29b9e93c1Jonathan Haslam * will fail.
30b9e93c1Jonathan Haslam */
31b9e93c1Jonathan Haslam
32b9e93c1Jonathan HaslamBEGIN
33b9e93c1Jonathan Haslam{
34b9e93c1Jonathan Haslam	exit(0);
35b9e93c1Jonathan Haslam}
36b9e93c1Jonathan Haslam
37b9e93c1Jonathan Haslamcpc:::PAPI_cpc_bad-all-10000
38b9e93c1Jonathan Haslam{
39b9e93c1Jonathan Haslam	@[probename] = count();
40b9e93c1Jonathan Haslam}