bpf: move verbose_linfo() into kernel/bpf/log.c
authorAndrii Nakryiko <andrii@kernel.org>
Sat, 18 Nov 2023 03:46:16 +0000 (19:46 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 18 Nov 2023 19:39:58 +0000 (11:39 -0800)
commitdb840d389bad60ce6f3aadc1079da13e7e993a16
treee9a49caa3606ba2d29c27cc6fc891be2b1656187
parentff8867af01daa7ea770bebf5f91199b7434b74e5
bpf: move verbose_linfo() into kernel/bpf/log.c

verifier.c is huge. Let's try to move out parts that are logging-related
into log.c, as we previously did with bpf_log() and other related stuff.
This patch moves line info verbose output routines: it's pretty
self-contained and isolated code, so there is no problem with this.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231118034623.3320920-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf_verifier.h
kernel/bpf/log.c
kernel/bpf/verifier.c