Revert "tracing/kprobes: Fix symbol counting logic by looking at modules as well"

This reverts commit ef8f154c7c.
This commit is contained in:
Ksawlii 2024-11-24 00:22:59 +01:00
parent 89429a32c3
commit 93ad10a774

View file

@ -742,8 +742,6 @@ static unsigned int number_of_same_symbols(char *func_name)
kallsyms_on_each_symbol(count_symbols, &args); kallsyms_on_each_symbol(count_symbols, &args);
module_kallsyms_on_each_symbol(count_symbols, &args);
return args.count; return args.count;
} }