Re: [RFC] apparent bogosity in unregister_ftrace_function_probe_func()

From: Dmitry Safonov
Date: Mon Feb 05 2018 - 21:44:36 EST


2018-02-06 2:40 GMT+00:00 Steven Rostedt <rostedt@xxxxxxxxxxx>:
> On Tue, 6 Feb 2018 11:26:14 +0900
> Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
>> No, that code looks good to me. :)
>>
>> BTW, did you also remove "search = buff;" line in
>> unregister_ftrace_function_probe_func() too?
>
> That's a separate bug, and should be a separate patch. Dmitry mentioned
> that he was preparing a patch to fix that.
>
> Dmitry did you have a patch and added selftests to check it? If not,
> I'll whip one up.

Yes, I've planned to do this..
As it's merge-window now I thought doing this a week later.
So, it's up to you - just let me know so we will not end doing the same fix :)

--
Dmitry