aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorPu Lehui <[email protected]>2022-05-30 09:28:10 +0000
committerAndrii Nakryiko <[email protected]>2022-06-02 23:25:57 +0000
commit2cd008522707a59bf38c1f45d5c654eddbb86c20 (patch)
treef51f86d7deecd218b8c3a109892787d2de0fab5e /tools/bpf/bpftool/prog.c
parentxdp: Directly use ida_alloc()/free() APIs (diff)
downloadkernel-2cd008522707a59bf38c1f45d5c654eddbb86c20.tar.gz
kernel-2cd008522707a59bf38c1f45d5c654eddbb86c20.zip
bpf: Unify data extension operation of jited_ksyms and jited_linfo
We found that 32-bit environment can not print BPF line info due to a data inconsistency between jited_ksyms[0] and jited_linfo[0]. For example: jited_kyms[0] = 0xb800067c, jited_linfo[0] = 0xffffffffb800067c We know that both of them store BPF func address, but due to the different data extension operations when extended to u64, they may not be the same. We need to unify the data extension operations of them. Signed-off-by: Pu Lehui <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/CAEf4BzZ-eDcdJZgJ+Np7Y=V-TVjDDvOMqPwzKjyWrh=i5juv4w@mail.gmail.com Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions