projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f2a599
)
kprobes: Init kprobes in early_initcall
author
Masami Hiramatsu
<mhiramat@kernel.org>
Thu, 10 Sep 2020 12:38:39 +0000
(21:38 +0900)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Tue, 22 Sep 2020 01:06:04 +0000
(21:06 -0400)
Init kprobes feature in early_initcall as same as jump_label and
dynamic_debug does, so that we can use kprobes events in earlier
boot stage.
Link:
https://lkml.kernel.org/r/159974151897.478751.8342374158615496628.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/kprobes.c
patch
|
blob
|
history
diff --git
a/kernel/kprobes.c
b/kernel/kprobes.c
index
d750e02
..
9303881
100644
(file)
--- a/
kernel/kprobes.c
+++ b/
kernel/kprobes.c
@@
-2529,7
+2529,7
@@
static int __init init_kprobes(void)
init_test_probes();
return err;
}
-
subsys
_initcall(init_kprobes);
+
early
_initcall(init_kprobes);
#ifdef CONFIG_DEBUG_FS
static void report_probe(struct seq_file *pi, struct kprobe *p,