Skip to content

Commit 6f20c71

Browse files
sandip4nborkmann
authored andcommitted
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 <sandipan@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 parent 2863deb commit 6f20c71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/powerpc/net/bpf_jit_comp64.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
11851185

11861186
bpf_flush_icache(bpf_hdr, (u8 *)bpf_hdr + (bpf_hdr->pages * PAGE_SIZE));
11871187
if (!fp->is_func || extra_pass) {
1188+
bpf_prog_fill_jited_linfo(fp, addrs);
11881189
out_addrs:
11891190
kfree(addrs);
11901191
kfree(jit_data);

0 commit comments

Comments
 (0)