Re: [PATCH] bpf: s390: add JIT support for bpf line info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Hold on, I should check it a bit more.

>>>>> On Thu, 29 Aug 2019 19:13:30 +0300, Yauheni Kaliuta  wrote:

 > 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.

 > Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@xxxxxxxxxx>
 > ---

 > The patch is on top of "bpf: s390: add JIT support for multi-function
 > programs"

 > ---
 >  arch/s390/net/bpf_jit_comp.c | 1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c
 > index b6801d854c77..4ef783b67dfc 100644
 > --- a/arch/s390/net/bpf_jit_comp.c
 > +++ b/arch/s390/net/bpf_jit_comp.c
 > @@ -1420,6 +1420,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
 > fp-> jited_len = jit.size;
 
 >  	if (!fp->is_func || extra_pass) {
 > +		bpf_prog_fill_jited_linfo(fp, jit.addrs);
 >  free_addrs:
 >  		kfree(jit.addrs);
 >  		kfree(jit_data);
 > -- 
 > 2.22.0


-- 
WBR,
Yauheni Kaliuta



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux