summaryrefslogtreecommitdiff
path: root/tools/bpf
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2020-07-03 11:17:19 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2020-07-03 23:25:40 +0200
commit9ff79af3331277c69ac61cc75b2392eb3284e305 (patch)
tree6a5a329465fe171783af5ce474422013851c1802 /tools/bpf
parent8ae4121bd89e3dce27b519ed469efbc15423af18 (diff)
selftests/bpf: Fix compilation error of bpf_iter_task_stack.c
BPF selftests show a compilation error as follows: libbpf: invalid relo for 'entries' in special section 0xfff2; forgot to initialize global var?.. Fix it by initializing 'entries' to zeros. Fixes: c7568114bc56 ("selftests/bpf: Add bpf_iter test with bpf_get_task_stack()") Reported-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200703181719.3747072-1-songliubraving@fb.com
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions