Move headers under include/
[lttng-modules.git] / probes / lttng-probe-writeback.c
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
2 *
3 * probes/lttng-probe-writeback.c
4 *
5 * LTTng writeback probes.
6 *
7 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (C) 2012 Mentor Graphics Corp.
9 */
10
11 #include <linux/module.h>
12 #include <linux/device.h>
13 #include <linux/mm.h>
14 #include <lttng/lttng-tracer.h>
15
16 /*
17 * Create the tracepoint static inlines from the kernel to validate that our
18 * trace event macros match the kernel we run on.
19 */
20 #include <trace/events/writeback.h>
21
22 #include <lttng/lttng-kernel-version.h>
23
24 /* #if <check version number if global_dirty_limit will be exported> */
25
26 #define global_dirty_limit wrapper_global_dirty_limit()
27
28 /* #endif <check version number> */
29
30 /*
31 * Create LTTng tracepoint probes.
32 */
33 #define LTTNG_PACKAGE_BUILD
34 #define CREATE_TRACE_POINTS
35 #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
36
37 #include <instrumentation/events/lttng-module/writeback.h>
38
39 MODULE_LICENSE("GPL and additional rights");
40 MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
41 MODULE_DESCRIPTION("LTTng writeback probes");
42 MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
43 __stringify(LTTNG_MODULES_MINOR_VERSION) "."
44 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
45 LTTNG_MODULES_EXTRAVERSION);
This page took 0.029741 seconds and 4 git commands to generate.