2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * We don't currently support multiple error handlers. 2N/A * If the DTRACEOPT_GRABANON is enabled, the anonymous enabling will 2N/A * already have a dtrace:::ERROR probe enabled; save 'hdlr' and 'arg' 2N/A * but do not bother compiling and enabling _dt_errprog. 2N/A * This is an error. We have the following items here: EPID, 2N/A * faulting action, DIF offset, fault code and faulting address. 2N/A "(ID %u: %s:%s:%s:%s): %s%s in %s%s\n",
2N/A "(ID %u: %s:%s:%s:%s): %s\n",
2N/Astatic const struct {
2N/A return (
"DTRACEDROP_UNKNOWN");
2N/Astatic const struct {
2N/A "dynamic variable drop" },
2N/A "dynamic variable drop",
" with non-empty rinsing list" },
2N/A "dynamic variable drop",
" with non-empty dirty list" },
2N/A "speculative drop" },
2N/A "failed speculation",
" (available buffer(s) still busy)" },
2N/A "failed speculation",
" (no speculative buffer available)" },
2N/A "jstack()/ustack() string table overflow" },
2N/A "error",
" in ERROR probe enabling" },
2N/A * First, check to see if we've been killed -- in which case we abort.