Mass rename: ltt_*/ltt-* to LTTNG_*/LTTNG-*
[lttng-modules.git] / probes / lttng-types.c
1 /*
2 * probes/lttng-types.c
3 *
4 * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
6 * LTTng types.
7 *
8 * Dual LGPL v2.1/GPL v2 license.
9 */
10
11 #include <linux/module.h>
12 #include <linux/types.h>
13 #include "../wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */
14 #include "../lttng-events.h"
15 #include "lttng-types.h"
16 #include <linux/hrtimer.h>
17
18 #define STAGE_EXPORT_ENUMS
19 #include "lttng-types.h"
20 #include "lttng-type-list.h"
21 #undef STAGE_EXPORT_ENUMS
22
23 struct lttng_enum lttng_enums[] = {
24 #define STAGE_EXPORT_TYPES
25 #include "lttng-types.h"
26 #include "lttng-type-list.h"
27 #undef STAGE_EXPORT_TYPES
28 };
29
30 static int lttng_types_init(void)
31 {
32 int ret = 0;
33
34 wrapper_vmalloc_sync_all();
35 /* TODO */
36 return ret;
37 }
38
39 module_init(lttng_types_init);
40
41 static void lttng_types_exit(void)
42 {
43 }
44
45 module_exit(lttng_types_exit);
46
47 MODULE_LICENSE("GPL and additional rights");
48 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
49 MODULE_DESCRIPTION("LTTng types");
This page took 0.029272 seconds and 4 git commands to generate.