]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Add cleanup to unregister_ftrace_direct_multi
authorJiri Olsa <jolsa@redhat.com>
Mon, 6 Dec 2021 18:20:31 +0000 (19:20 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 8 Dec 2021 17:12:02 +0000 (12:12 -0500)
commitfea3ffa48c6d42a11dca766c89284d22eaf5603f
treead54cc756325d4e0cd30e803d96043eb482f60bb
parent7d5b7cad79da76f3dad4a9f6040e524217814e5a
ftrace: Add cleanup to unregister_ftrace_direct_multi

Adding ops cleanup to unregister_ftrace_direct_multi,
so it can be reused in another register call.

Link: https://lkml.kernel.org/r/20211206182032.87248-3-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>
kernel/trace/ftrace.c