bpf: s390: add JIT support for bpf line info
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Fri, 30 Aug 2019 11:51:09 +0000 (14:51 +0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 3 Sep 2019 13:32:56 +0000 (15:32 +0200)
commit53092f7e074936df43aa4dbf4b6c3df812f3dab9
treedc1d88c972ba893966871bab0118bab16d901e35
parentac915762ea3977af49383bd914d506da0905c72e
bpf: s390: add JIT support for bpf line info

This adds support for generating bpf line info for JITed programs
like commit 6f20c71d8505 ("bpf: powerpc64: add JIT support for bpf
line info") does for powerpc, but it should pass the array starting
from 1. This fixes test_btf.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
arch/s390/net/bpf_jit_comp.c