Re: [PATCH 05/18] bpf: Add lnode list node to struct bpf_ksym
From: Jiri Olsa <hidden>
Date: 2020-02-27 08:15:37
Also in:
bpf
From: Jiri Olsa <hidden>
Date: 2020-02-27 08:15:37
Also in:
bpf
On Wed, Feb 26, 2020 at 02:51:14PM -0800, Song Liu wrote:
On Wed, Feb 26, 2020 at 5:05 AM Jiri Olsa [off-list ref] wrote:quoted
Adding lnode list node to 'struct bpf_ksym' object, so the symbol itself can be chained and used in other objects like bpf_trampoline and bpf_dispatcher. Changing iterator to bpf_ksym in bpf_get_kallsym. The ksym->start is holding the prog->bpf_func value, so it's ok to use it in bpf_get_kallsym. Signed-off-by: Jiri Olsa <jolsa@kernel.org>Acked-by: Song Liu <redacted> nit: I think we should describe this as "move lnode list node to struct bpf_ksym".
true, will change thanks, jirka