diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-08-29 22:02:47 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-09-08 11:52:35 +0200 |
commit | b338817807538c893540e393856b79cbbdf777ea (patch) | |
tree | bf4dadbf3fc3746a7028c415f2baf40032c95e99 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e03b4a084ea6b0a18b0e874baec439e69090c168 (diff) |
kprobes: Free kretprobe_instance with RCU callback
Free kretprobe_instance with RCU callback instead of directly
freeing the object in the kretprobe handler context.
This will make kretprobe run safer in NMI context.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/159870616685.1229682.11978742048709542226.stgit@devnote2
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions