add tests
[lttv.git] / tests / kernel / module-template.c
1 /* test-time-probe.c
2 *
3 * Test time spent in a LTTng instrumentation probe.
4 */
5
6
7 #include <linux/init.h>
8 #include <linux/module.h>
9 #include <linux/ltt-core.h>
10
11 static int ltt_test_init(void)
12 {
13 printk(KERN_ALERT "test init\n");
14
15 return 0;
16 }
17
18 static void ltt_test_exit(void)
19 {
20 printk(KERN_ALERT "test exit\n");
21 }
22
23 module_init(ltt_test_init)
24 module_exit(ltt_test_exit)
25
26 MODULE_LICENSE("GPL");
27 MODULE_AUTHOR("Mathieu Desnoyers");
28 MODULE_DESCRIPTION("Linux Trace Toolkit Test");
29
This page took 0.030866 seconds and 5 git commands to generate.