Skip to content

Commit 37ab566

Browse files
iamkafaiborkmann
authored andcommitted
bpf: arm64: Enable arm64 jit to provide bpf_line_info
This patch enables arm64's bpf_int_jit_compile() to provide bpf_line_info by calling bpf_prog_fill_jited_linfo(). Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
1 parent 0bd7211 commit 37ab566

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/net/bpf_jit_comp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
932932
prog->jited_len = image_size;
933933

934934
if (!prog->is_func || extra_pass) {
935+
bpf_prog_fill_jited_linfo(prog, ctx.offset);
935936
out_off:
936937
kfree(ctx.offset);
937938
kfree(jit_data);

0 commit comments

Comments
 (0)