Commit 2e6e905
ftrace/direct: Fix lockup in modify_ftrace_direct_multi
We can't call unregister_ftrace_function under ftrace_lock.
Link: https://lkml.kernel.org/r/20211109114217.1645296-1-jolsa@kernel.org
Fixes: ed29271 ("ftrace/direct: Do not disable when switching direct callers")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>1 parent 51d1579 commit 2e6e905
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5602 | 5602 | | |
5603 | 5603 | | |
5604 | 5604 | | |
| 5605 | + | |
| 5606 | + | |
5605 | 5607 | | |
5606 | 5608 | | |
5607 | 5609 | | |
5608 | | - | |
5609 | 5610 | | |
5610 | 5611 | | |
5611 | 5612 | | |
| |||
0 commit comments