kernel: clean memory when exit

This commit is contained in:
weishu
2024-03-24 16:41:45 +08:00
parent 5167dc7352
commit 858ec910fd
6 changed files with 40 additions and 13 deletions

View File

@@ -838,5 +838,9 @@ void __init ksu_core_init(void)
void ksu_core_exit(void)
{
pr_info("ksu_kprobe_exit\n");
#ifdef CONFIG_KPROBES
pr_info("ksu_core_kprobe_exit\n");
// we dont use this now
// ksu_kprobe_exit();
#endif
}