From 93ad10a7749af57149a9b3856d410357f736fe46 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:22:59 +0100 Subject: [PATCH] Revert "tracing/kprobes: Fix symbol counting logic by looking at modules as well" This reverts commit ef8f154c7cfa19db87b59ad44bab939ad810c67f. --- kernel/trace/trace_kprobe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index ae059345d..91dfe8cf1 100755 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c @@ -742,8 +742,6 @@ static unsigned int number_of_same_symbols(char *func_name) kallsyms_on_each_symbol(count_symbols, &args); - module_kallsyms_on_each_symbol(count_symbols, &args); - return args.count; }