]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Append "..." in fixed up log if CO-RE spec is truncated
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 28 Apr 2022 04:15:20 +0000 (21:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 29 Apr 2022 03:03:29 +0000 (20:03 -0700)
commita860d09a275ff66ab8e4bbf9bd567996b5b460b5
treea82cb62ba86700c9dc7fd3014798ed700428344a
parentd6a105f3369604ac9f258e61a108764747b59125
libbpf: Append "..." in fixed up log if CO-RE spec is truncated

Detect CO-RE spec truncation and append "..." to make user aware that
there was supposed to be more of the spec there.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220428041523.4089853-2-andrii@kernel.org
tools/lib/bpf/libbpf.c