This source file includes following definitions.
- livepatch_callbacks_mod_init
- livepatch_callbacks_mod_exit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
24
25 #include <linux/module.h>
26 #include <linux/kernel.h>
27
28 static int livepatch_callbacks_mod_init(void)
29 {
30 pr_info("%s\n", __func__);
31 return 0;
32 }
33
34 static void livepatch_callbacks_mod_exit(void)
35 {
36 pr_info("%s\n", __func__);
37 }
38
39 module_init(livepatch_callbacks_mod_init);
40 module_exit(livepatch_callbacks_mod_exit);
41 MODULE_LICENSE("GPL");