diff options
| author | zy <[email protected]> | 2023-11-16 21:08:27 -0500 |
|---|---|---|
| committer | zy <[email protected]> | 2023-11-16 21:08:27 -0500 |
| commit | 6397e0da75473c75a15695dbf8b27b3dac43fe07 (patch) | |
| tree | d38a858ce4a394efc62b5274c1281648e262ecd1 /source/module/monitor_kernel.c | |
| parent | d0c662d1819cc8fc87b59a6fa4b1c6bb44ade9a0 (diff) | |
init && exit
Diffstat (limited to 'source/module/monitor_kernel.c')
| -rw-r--r-- | source/module/monitor_kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/module/monitor_kernel.c b/source/module/monitor_kernel.c index b79d131..b6cd892 100644 --- a/source/module/monitor_kernel.c +++ b/source/module/monitor_kernel.c @@ -64,7 +64,7 @@ static struct file_operations fops = { }; int init_module(void) { - printk(KERN_INFO "%s\n", __FUNCTION__); + printk(KERN_INFO "variable_monitor fun: %s\n", __FUNCTION__); if (alloc_chrdev_region(&dev_num, 0, 1, DEVICE_NAME) < 0) { printk(KERN_ALERT "Failed to register device number\n"); return -1; @@ -110,7 +110,7 @@ int init_module(void) { } void cleanup_module(void) { - printk(KERN_INFO "%s\n", __FUNCTION__); + printk(KERN_INFO "variable_monitor fun: %s\n", __FUNCTION__); // clear all watch | free buffer monitor_exit(); |
