1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
5 * Copyright (C) 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 #include <linux/module.h>
9 #include <lttng-tracer.h>
11 static int __init
lttng_wrapper_init(void)
16 module_init(lttng_wrapper_init
);
18 static void __exit
lttng_exit(void)
22 module_exit(lttng_exit
);
24 #include "extra_version/patches.i"
25 #ifdef LTTNG_EXTRA_VERSION_GIT
26 MODULE_INFO(extra_version_git
, LTTNG_EXTRA_VERSION_GIT
);
28 #ifdef LTTNG_EXTRA_VERSION_NAME
29 MODULE_INFO(extra_version_name
, LTTNG_EXTRA_VERSION_NAME
);
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
);