Commit | Line | Data |
---|---|---|
d4d4da49 MD |
1 | /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
2 | * | |
3 | * lttng-wrapper.c | |
4 | * | |
5 | * Copyright (C) 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
6 | */ | |
7 | ||
8 | #include <linux/module.h> | |
9 | #include <lttng-tracer.h> | |
10 | ||
11 | static int __init lttng_wrapper_init(void) | |
12 | { | |
13 | return 0; | |
14 | } | |
15 | ||
16 | module_init(lttng_wrapper_init); | |
17 | ||
18 | static void __exit lttng_exit(void) | |
19 | { | |
20 | } | |
21 | ||
22 | module_exit(lttng_exit); | |
23 | ||
24 | #include "extra_version/patches.i" | |
25 | #ifdef LTTNG_EXTRA_VERSION_GIT | |
26 | MODULE_INFO(extra_version_git, LTTNG_EXTRA_VERSION_GIT); | |
27 | #endif | |
28 | #ifdef LTTNG_EXTRA_VERSION_NAME | |
29 | MODULE_INFO(extra_version_name, LTTNG_EXTRA_VERSION_NAME); | |
30 | #endif | |
31 | MODULE_LICENSE("GPL and additional rights"); | |
32 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
33 | MODULE_DESCRIPTION("LTTng wrapper"); | |
34 | MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." | |
35 | __stringify(LTTNG_MODULES_MINOR_VERSION) "." | |
36 | __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) | |
37 | LTTNG_MODULES_EXTRAVERSION); |