bpf: powerpc64: add JIT support for bpf line info
Subsystems (5)
PATCH 1/1 bpf: powerpc64: add JIT support for bpf line info
This adds support for generating bpf line info for JITed programs.
Signed-off-by Sandipan Das <[email protected]>
--- arch/powerpc/net/bpf_jit_comp64.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/net/bpf_jit_comp64.c +1 -0
@@ -1185,6 +1185,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)bpf_flush_icache (bpf_hdr, (u8 *)bpf_hdr + (bpf_hdr->pages *PAGE_SIZE ));if (!fp->is_func || extra_pass) { +bpf_prog_fill_jited_linfo (fp, addrs); out_addrs:kfree (addrs);kfree (jit_data);
Signature · 1 line
2.19.2
Quoted 14 lines · Sandipan Das
This adds support for generating bpf line info for JITed programs.
Signed-off-by Sandipan Das <[email protected]>--- arch/powerpc/net/bpf_jit_comp64.c | 1 + 1 file changed, 1 insertion(+)arch/powerpc/net/bpf_jit_comp64.c +0
-0
arch/powerpc/net/bpf_jit_comp64.c struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp) · line 1191
Quoted 7 lines
arch/powerpc/net/bpf_jit_comp64.c +1
-0@@ -1185,6 +1185,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)bpf_flush_icache (bpf_hdr, (u8 *)bpf_hdr + (bpf_hdr->pages *PAGE_SIZE ));if (!fp->is_func || extra_pass) { +bpf_prog_fill_jited_linfo (fp, addrs); out_addrs:kfree (addrs);kfree (jit_data);
Applied, thanks!