| 1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
| 2 | * |
| 3 | * probes/lttng-probe-dma-fence.c |
| 4 | * |
| 5 | * LTTng dma-fence probes. |
| 6 | * |
| 7 | * Copyright (C) 2022 Pengutronix, Rouven Czerwinski <entwicklung@pengutronix.de> |
| 8 | */ |
| 9 | |
| 10 | #include <linux/dma-fence.h> |
| 11 | /* |
| 12 | * Create the tracepoint static inlines from the kernel to validate that our |
| 13 | * trace event macros match the kernel we run on. |
| 14 | */ |
| 15 | #include <trace/events/dma_fence.h> |
| 16 | |
| 17 | /* |
| 18 | * Create LTTng tracepoint probes. |
| 19 | */ |
| 20 | #define LTTNG_PACKAGE_BUILD |
| 21 | #define CREATE_TRACE_POINTS |
| 22 | #define TRACE_INCLUDE_PATH instrumentation/events |
| 23 | |
| 24 | #include <instrumentation/events/dma_fence.h> |
| 25 | |
| 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); |