Re: [PATCH 4/5] fprobe: Always unregister fgraph function from ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Feb 2025 09:57:15 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> 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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux