bpf: Adjust BTF log size limit.
authorAlexei Starovoitov <ast@kernel.org>
Wed, 1 Dec 2021 18:10:29 +0000 (10:10 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 2 Dec 2021 19:18:35 +0000 (11:18 -0800)
commitc5a2d43e998a821701029f23e25b62f9188e93ff
treef1392f6d28856b2ddd63d559ee98f3886e46d232
parentfbd94c7afcf99c9f3b1ba1168657ecc428eb2c8d
bpf: Adjust BTF log size limit.

Make BTF log size limit to be the same as the verifier log size limit.
Otherwise tools that progressively increase log size and use the same log
for BTF loading and program loading will be hitting hard to debug EINVAL.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211201181040.23337-7-alexei.starovoitov@gmail.com
kernel/bpf/btf.c