aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-07-23 14:11:33 -0700
committerAlexei Starovoitov <ast@kernel.org>2019-07-23 15:59:12 -0700
commitf2a3e4e95f408314938d37fa3146a9f7b304ce74 (patch)
tree2693646b1efb0420c38f07526bcef2c4e7d9ffb8 /tools/testing/selftests
parenttc-testing: added tdc tests for [b|p]fifo qdisc (diff)
downloadlinux-dev-f2a3e4e95f408314938d37fa3146a9f7b304ce74.tar.xz
linux-dev-f2a3e4e95f408314938d37fa3146a9f7b304ce74.zip
libbpf: provide more helpful message on uninitialized global var
When BPF program defines uninitialized global variable, it's put into a special COMMON section. Libbpf will reject such programs, but will provide very unhelpful message with garbage-looking section index. This patch detects special section cases and gives more explicit error message. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions