Re: [PATCH -tip v2 02/10] kprobes: treewide: Replace arch_deref_entry_point() with dereference_function_descriptor()

From: Masami Hiramatsu
Date: Mon May 24 2021 - 19:42:44 EST


Hi Naveen,

On Mon, 24 May 2021 14:56:50 +0530
"Naveen N. Rao" <naveen.n.rao@xxxxxxxxxxxxx> wrote:

> Masami Hiramatsu wrote:
> > Replace arch_deref_entry_point() with dereference_function_descriptor()
> > because those are doing same thing.
>
> It's not quite the same -- you need dereference_symbol_descriptor().

Got it! dereference_function_descriptor() doesn't handle the symbols
in the modules.

Thank you!

>
>
> - Naveen
>


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>