Re: [PATCHv2] ftrace: Show all functions with addresses in available_filter_functions_addrs

From: Steven Rostedt
Date: Wed Jun 14 2023 - 11:12:19 EST


On Wed, 14 Jun 2023 16:14:19 +0200
Jiri Olsa <olsajiri@xxxxxxxxx> wrote:

> FYI I did some perf meassurements and the speedup is not substantial :-\
>
> looks like the symbols resolving to addresses we do in kernel for kprobe_multi
> link is more faster/cheaper than I thought

The symbol lookup is supposed to be fast, but it's not "free", whereas this
is "free". I didn't expect a big speedup.

-- Steve


>
> but still there is 'some' speedup and we will get rid of the extra
> /proc/kallsyms parsing, so I think it's still worth it to have the
> new file