diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 100b7fd1a64b..6b194d842b18 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -3869,7 +3869,7 @@ static int ftrace_module_notify(struct notifier_block *self, struct notifier_block ftrace_module_nb = { .notifier_call = ftrace_module_notify, - .priority = 0, + .priority = INT_MAX, /* Run before anything that can use kprobes */ }; extern unsigned long __start_mcount_loc[];