Fix: timer_expire_entry changed in 4.19.312
[lttng-modules.git] / probes / lttng-probe-writeback.c
1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
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-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-kernel-version.h>
23 #include <wrapper/writeback.h>
24
25 /* #if <check version number if global_dirty_limit will be exported> */
26
27 #define global_dirty_limit wrapper_global_dirty_limit()
28
29 /* #endif <check version number> */
30
31 /*
32 * Create LTTng tracepoint probes.
33 */
34 #define LTTNG_PACKAGE_BUILD
35 #define CREATE_TRACE_POINTS
36 #define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
37
38 #include <instrumentation/events/lttng-module/writeback.h>
39
40 MODULE_LICENSE("GPL and additional rights");
41 MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
42 MODULE_DESCRIPTION("LTTng writeback probes");
43 MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
44 __stringify(LTTNG_MODULES_MINOR_VERSION) "."
45 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
46 LTTNG_MODULES_EXTRAVERSION);
This page took 0.031 seconds and 4 git commands to generate.