aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorPu Lehui <[email protected]>2022-05-30 09:28:12 +0000
committerAndrii Nakryiko <[email protected]>2022-06-02 23:26:06 +0000
commitcc1685546df87d9872e1ccef5bf56ac5262be0b1 (patch)
tree5f4bc7f9e7b54ee26e273c635163fcee444b901b /tools/bpf/bpftool/prog.c
parentbpf, riscv: Support riscv jit to provide bpf_line_info (diff)
downloadkernel-cc1685546df87d9872e1ccef5bf56ac5262be0b1.tar.gz
kernel-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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions