On Wed, 19 Feb 2025 09:57:15 +0900 Masami Hiramatsu (Google) mhiramat@kernel.org wrote:
Good catch! I forgot to remove the filter in this case. Is there anyway to be sure the filter is empty or clear it if fprobe_graph_active == 0?
You can call ftrace_free_filter(), but you need to make sure that the ops is not active. Hmm, I should add a warning and exit if the ops is active when that function is called.
-- Steve