mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 04:14:24 +00:00
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]>
This commit is contained in:
committed by
Daniel Borkmann
parent
0bd72117fb
commit
37ab566c17
@@ -932,6 +932,7 @@ skip_init_ctx:
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user