Re: [PATCH 05/18] bpf: Add lnode list node to struct bpf_ksym
From: Song Liu <song@kernel.org>
Date: 2020-02-26 22:51:28
Also in:
bpf
From: Song Liu <song@kernel.org>
Date: 2020-02-26 22:51:28
Also in:
bpf
On Wed, Feb 26, 2020 at 5:05 AM Jiri Olsa [off-list ref] wrote:
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".