diff options
author | 2020-09-01 12:16:17 +0300 | |
---|---|---|
committer | 2020-09-18 12:22:42 -0400 | |
commit | 478ece9573f04aed834e05e0bbf034320d240f9f (patch) | |
tree | 19a62f01936d1b44e27ae1fb978705f930522d97 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ftrace: Free the trampoline when ftrace_startup() fails (diff) | |
download | wireguard-linux-478ece9573f04aed834e05e0bbf034320d240f9f.tar.xz wireguard-linux-478ece9573f04aed834e05e0bbf034320d240f9f.zip |
ftrace: Fix missing synchronize_rcu() removing trampoline from kallsyms
Add synchronize_rcu() after list_del_rcu() in
ftrace_remove_trampoline_from_kallsyms() to protect readers of
ftrace_ops_trampoline_list (in ftrace_get_trampoline_kallsym)
which is used when kallsyms is read.
Link: https://lkml.kernel.org/r/20200901091617.31837-1-adrian.hunter@intel.com
Fixes: fc0ea795f53c8d ("ftrace: Add symbols for ftrace trampolines")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions