summaryrefslogtreecommitdiff
path: root/source/module/monitor_kallsyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/module/monitor_kallsyms.c')
-rw-r--r--source/module/monitor_kallsyms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/module/monitor_kallsyms.c b/source/module/monitor_kallsyms.c
index 182412e..7111967 100644
--- a/source/module/monitor_kallsyms.c
+++ b/source/module/monitor_kallsyms.c
@@ -19,6 +19,9 @@ int (*orig_access_remote_vm)(struct mm_struct *mm, unsigned long addr,
void *buf, int len, unsigned int gup_flags);
struct task_struct *(*orig_find_task_by_vpid)(pid_t nr);
+void (*orig_open_softirq)(int nr, void (*action)(struct softirq_action *));
+void (*orig_raise_softirq)(unsigned int nr);
+
/**
* @brief diag_kallsyms_lookup_name init
*
@@ -59,5 +62,7 @@ int init_orig_fun(void) {
get_task_type); // get_task_type | this fun is not available on 5.17.15
LOOKUP_SYMS_NORET(kernfs_name); // kernfs_name
LOOKUP_SYMS_NORET(find_task_by_vpid);
+ LOOKUP_SYMS_NORET(open_softirq);
+ LOOKUP_SYMS_NORET(raise_softirq);
return 0;
}