Re: [PATCH] bpf: hide do_bpf_send_signal when unused

From: Alexei Starovoitov
Date: Mon Jun 17 2019 - 11:31:40 EST


On Mon, Jun 17, 2019 at 5:59 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> When CONFIG_MODULES is disabled, this function is never called:
>
> kernel/trace/bpf_trace.c:581:13: error: 'do_bpf_send_signal' defined but not used [-Werror=unused-function]

hmm. it should work just fine without modules.
the bug is somewhere else.