1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
3 * probes/lttng-probe-dma-fence.c
5 * LTTng dma-fence probes.
7 * Copyright (C) 2022 Pengutronix, Rouven Czerwinski <entwicklung@pengutronix.de>
10 #include <linux/dma-fence.h>
12 * Create the tracepoint static inlines from the kernel to validate that our
13 * trace event macros match the kernel we run on.
15 #include <trace/events/dma_fence.h>
18 * Create LTTng tracepoint probes.
20 #define LTTNG_PACKAGE_BUILD
21 #define CREATE_TRACE_POINTS
22 #define TRACE_INCLUDE_PATH instrumentation/events
24 #include <instrumentation/events/dma_fence.h>
26 MODULE_LICENSE("GPL and additional rights");
27 MODULE_AUTHOR("Rouven Czerwinski <r.czerwinski@pengutronix.de>");
28 MODULE_DESCRIPTION("LTTng dma-fence probes");
29 MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION
) "."
30 __stringify(LTTNG_MODULES_MINOR_VERSION
) "."
31 __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION
)
32 LTTNG_MODULES_EXTRAVERSION
);