Skip to contentSkip to conversation

bpf: sparc64: Enable sparc64 jit to provide bpf_line_info

PATCH Applied Martin KaFai Lau 3 participants 3 messages Dec 19, 2018 – Dec 20, 2018

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpf: sparc64: Enable sparc64 jit to provide bpf_line_info

This patch enables sparc64's bpf_int_jit_compile() to provide bpf_line_info by calling bpf_prog_fill_jited_linfo().

---
 arch/sparc/net/bpf_jit_comp_64.c | 1 +
 1 file changed, 1 insertion(+)
arch/sparc/net/bpf_jit_comp_64.c +1 -0
index 5fda4f7bf15d..65428e79b2f3 100644
@@ -1575,6 +1575,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
 	prog->jited_len = image_size;
 
 	if (!prog->is_func || extra_pass) {
+		bpf_prog_fill_jited_linfo(prog, ctx.offset);
 out_off:
 		kfree(ctx.offset);
 		kfree(jit_data);
Signature · 1 line
2.17.1