[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190201103232.3355-1-sandipan@linux.ibm.com>
Date: Fri, 1 Feb 2019 16:02:32 +0530
From: Sandipan Das <sandipan@...ux.ibm.com>
To: ast@...com, daniel@...earbox.net
Cc: kafai@...com, naveen.n.rao@...ux.ibm.com, netdev@...r.kernel.org
Subject: [PATCH bpf-next] 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@...ux.ibm.com>
---
arch/powerpc/net/bpf_jit_comp64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/net/bpf_jit_comp64.c b/arch/powerpc/net/bpf_jit_comp64.c
index 15bba765fa79..4194d3cfb60c 100644
--- a/arch/powerpc/net/bpf_jit_comp64.c
+++ b/arch/powerpc/net/bpf_jit_comp64.c
@@ -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);
--
2.19.2
Powered by blists - more mailing lists