aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2022-05-30 17:28:12 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-06-02 16:26:06 -0700
commitcc1685546df87d9872e1ccef5bf56ac5262be0b1 (patch)
tree5f4bc7f9e7b54ee26e273c635163fcee444b901b /tools/lib/bpf/libbpf.c
parentbpf, riscv: Support riscv jit to provide bpf_line_info (diff)
downloadlinux-dev-cc1685546df87d9872e1ccef5bf56ac5262be0b1.tar.xz
linux-dev-cc1685546df87d9872e1ccef5bf56ac5262be0b1.zip
bpf: Correct the comment about insn_to_jit_off
The insn_to_jit_off passed to bpf_prog_fill_jited_linfo should be the first byte of the next instruction, or the byte off to the end of the current instruction. Signed-off-by: Pu Lehui <pulehui@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220530092815.1112406-4-pulehui@huawei.com
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions