projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2863deb
)
bpf: powerpc64: add JIT support for bpf line info
author
Sandipan Das
<sandipan@linux.ibm.com>
Fri, 1 Feb 2019 10:32:32 +0000
(16:02 +0530)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Fri, 1 Feb 2019 20:03:34 +0000
(21:03 +0100)
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>
arch/powerpc/net/bpf_jit_comp64.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/net/bpf_jit_comp64.c
b/arch/powerpc/net/bpf_jit_comp64.c
index 15bba765fa792b4533e44c162071f3ad2b4304a2..4194d3cfb60cd0702487a83174f85b29806520ec 100644
(file)
--- 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);