diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-12-11 09:10:55 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-02 10:34:16 +0100 |
| commit | 68662d78afbc03d8365df6d0f58ffb962f2a170c (patch) | |
| tree | e2f16bf1deb24c7e03e6adbc90409854e71a56c5 /scripts/basic | |
| parent | a39ff5bf2357c737f558b28f4f579261bdbc2966 (diff) | |
| download | linux-68662d78afbc03d8365df6d0f58ffb962f2a170c.tar.gz linux-68662d78afbc03d8365df6d0f58ffb962f2a170c.tar.bz2 linux-68662d78afbc03d8365df6d0f58ffb962f2a170c.zip | |
tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
[ Upstream commit d685d55dfc86b1a4bdcec77c3c1f8a83f181264e ]
Make sure the trace_kprobe's module notifer callback function is called
after jump_label's callback is called. Since the trace_kprobe's callback
eventually checks jump_label address during registering new kprobe on
the loading module, jump_label must be updated before this registration
happens.
Link: https://lore.kernel.org/all/173387585556.995044.3157941002975446119.stgit@devnote2/
Fixes: 614243181050 ("tracing/kprobes: Support module init function probing")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
