Cleanup: Move lttng-modules instrumentation headers
[lttng-modules.git] / probes / lttng-probe-writeback.c
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
9f36eaed 2 *
b87700e3
AG
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.
b87700e3
AG
9 */
10
11#include <linux/module.h>
12#include <linux/device.h>
13#include <linux/mm.h>
2df37e95 14#include <lttng/tracer.h>
b87700e3
AG
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
2df37e95 22#include <lttng/kernel-version.h>
156a3977 23#include <wrapper/writeback.h>
b87700e3
AG
24
25/* #if <check version number if global_dirty_limit will be exported> */
b87700e3 26
b87700e3 27#define global_dirty_limit wrapper_global_dirty_limit()
42d9070d 28
b87700e3
AG
29/* #endif <check version number> */
30
31/*
32 * Create LTTng tracepoint probes.
33 */
34#define LTTNG_PACKAGE_BUILD
35#define CREATE_TRACE_POINTS
4f47ccf0 36#define TRACE_INCLUDE_PATH instrumentation/events
b87700e3 37
4f47ccf0 38#include <instrumentation/events/writeback.h>
b87700e3
AG
39
40MODULE_LICENSE("GPL and additional rights");
41MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
42MODULE_DESCRIPTION("LTTng writeback probes");
13ab8b0a
MD
43MODULE_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.036853 seconds and 4 git commands to generate.