[PATCH bpf-next v3 0/2] bpf, arm64: fix bpf line info
Martin KaFai Lau
kafai at fb.com
Wed Feb 16 10:29:42 PST 2022
On Tue, Feb 08, 2022 at 09:25:37AM +0800, Hou Tao wrote:
> Hi,
>
> The patchset addresses two issues in bpf line info for arm64:
>
> (1) insn_to_jit_off only considers the body itself and ignores
> prologue before the body. Fixed in patch #1.
>
> (2) insn_to_jit_off passed to bpf_prog_fill_jited_linfo() is
> calculated in instruction granularity instead of bytes
> granularity. Fixed in patch #2.
>
> Comments are always welcome.
>
> Regards,
> Tao
>
> Change Log:
> v3:
> * patch #2: explain why bpf2a64_offset() needs update
> * add Fixes tags in both patches
It makes sense to me on the bpf linfo expectation. It will be
useful to also get some eyes from the arm experts.
Acked-by: Martin KaFai Lau <kafai at fb.com>
More information about the linux-arm-kernel
mailing list