提交 6f20c71d 编写于 作者: S Sandipan Das 提交者: Daniel Borkmann

bpf: powerpc64: add JIT support for bpf line info

This adds support for generating bpf line info for
JITed programs.
Signed-off-by: NSandipan Das <sandipan@linux.ibm.com>
Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
上级 2863debf
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册