4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 1994, by Sun Microsytems, Inc.
29 #pragma ident "%Z%%M% %I% %E% SMI"
32 * Header file for debugging output. This is compiled in only if the
33 * code is compiled with -DDEBUG. There are two kinds of debugging output.
34 * The first is DBG, which is used to print output directly. The second is
35 * debug probes which can be controlled at run time via prex.
51 #include <tnf/probe.h>
53 #define DBG_TNF_PROBE_0(a, b, c) \
55 #define DBG_TNF_PROBE_1(a, b, c, t1, n1, v1) \
56 TNF_PROBE_1(a, b, c, t1, n1, v1)
57 #define DBG_TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) \
58 TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2)
59 #define DBG_TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) \
60 TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3)
62 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \
63 TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4)
67 #define DBG_TNF_PROBE_0(a, b, c) \
69 #define DBG_TNF_PROBE_1(a, b, c, t1, n1, v1) \
71 #define DBG_TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) \
73 #define DBG_TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) \
76 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \