summaryrefslogtreecommitdiff
path: root/arch/powerpc/net
diff options
context:
space:
mode:
authorSandipan Das <sandipan@linux.ibm.com>2019-02-01 16:02:32 +0530
committerDaniel Borkmann <daniel@iogearbox.net>2019-02-01 21:03:34 +0100
commit6f20c71d8505d6ad0ddbfdb44838402aba9b7c4e (patch)
treef9dc92dc5ba1ba837e9f5bd2b4d1445bbc3670de /arch/powerpc/net
parent2863debfbc6e881913eb8c2847bea963cde410b4 (diff)
downloadlinux-6f20c71d8505d6ad0ddbfdb44838402aba9b7c4e.tar.gz
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>
Diffstat (limited to 'arch/powerpc/net')
-rw-r--r--arch/powerpc/net/bpf_jit_comp64.c1
1 files changed, 1 insertions, 0 deletions
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 @@ skip_codegen_passes:
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);