Move headers under include/
[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>
b5304713 14#include <lttng/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
b5304713 22#include <lttng/lttng-kernel-version.h>
b87700e3
AG
23
24/* #if <check version number if global_dirty_limit will be exported> */
b87700e3 25
b87700e3 26#define global_dirty_limit wrapper_global_dirty_limit()
42d9070d 27
b87700e3
AG
28/* #endif <check version number> */
29
30/*
31 * Create LTTng tracepoint probes.
32 */
33#define LTTNG_PACKAGE_BUILD
34#define CREATE_TRACE_POINTS
156a3977 35#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
b87700e3 36
156a3977 37#include <instrumentation/events/lttng-module/writeback.h>
b87700e3
AG
38
39MODULE_LICENSE("GPL and additional rights");
40MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
41MODULE_DESCRIPTION("LTTng writeback probes");
13ab8b0a
MD
42MODULE_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.035967 seconds and 4 git commands to generate.