diff options
| author | 2021-12-06 19:20:30 +0100 | |
|---|---|---|
| committer | 2021-12-08 12:12:02 -0500 | |
| commit | 7d5b7cad79da76f3dad4a9f6040e524217814e5a (patch) | |
| tree | 5817f644a9a71a690dad2c14a275f4f9cb5e7ff2 /tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | tracefs: Set all files to the same group ownership as the mount option (diff) | |
| download | linux-dev-7d5b7cad79da76f3dad4a9f6040e524217814e5a.tar.xz linux-dev-7d5b7cad79da76f3dad4a9f6040e524217814e5a.zip | |
ftrace: Use direct_ops hash in unregister_ftrace_direct
Now when we have *direct_multi interface the direct_functions
hash is no longer owned just by direct_ops. It's also used by
any other ftrace_ops passed to *direct_multi interface.
Thus to find out that we are unregistering the last function
from direct_ops, we need to check directly direct_ops's hash.
Link: https://lkml.kernel.org/r/20211206182032.87248-2-jolsa@kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Fixes: f64dd4627ec6 ("ftrace: Add multi direct register/unregister interface")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
