xref: /freebsd/sys/contrib/openzfs/module/os/linux/zfs/trace.c (revision 61145dc2b94f12f6a47344fb9aac702321880e43)
1 // SPDX-License-Identifier: CDDL-1.0
2 /*
3  * CDDL HEADER START
4  *
5  * The contents of this file are subject to the terms of the
6  * Common Development and Distribution License (the "License").
7  * You may not use this file except in compliance with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or https://opensource.org/licenses/CDDL-1.0.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
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]
19  *
20  * CDDL HEADER END
21  */
22 
23 /*
24  * Each DTRACE_PROBE must define its trace point in one (and only one)
25  * source file, so this dummy file exists for that purpose.
26  */
27 
28 #include <sys/multilist.h>
29 #include <sys/arc_impl.h>
30 #include <sys/vdev_impl.h>
31 #include <sys/zio.h>
32 #include <sys/dbuf.h>
33 #include <sys/dmu_objset.h>
34 #include <sys/dsl_dataset.h>
35 #include <sys/dmu_tx.h>
36 #include <sys/dnode.h>
37 #include <sys/zfs_znode.h>
38 #include <sys/zil_impl.h>
39 
40 #ifdef _KERNEL
41 #define	CREATE_TRACE_POINTS
42 #include <sys/trace.h>
43 #include <sys/trace_acl.h>
44 #include <sys/trace_arc.h>
45 #include <sys/trace_dbgmsg.h>
46 #include <sys/trace_dbuf.h>
47 #include <sys/trace_dmu.h>
48 #include <sys/trace_dnode.h>
49 #include <sys/trace_multilist.h>
50 #include <sys/trace_rrwlock.h>
51 #include <sys/trace_txg.h>
52 #include <sys/trace_vdev.h>
53 #include <sys/trace_zil.h>
54 #include <sys/trace_zio.h>
55 #include <sys/trace_zrlock.h>
56 #endif
57