summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2022-02-04 21:57:37 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-02-08 05:13:01 +0300
commitd00c6473b1ee9050cc36d008c6d30bf0d3de0524 (patch)
tree493b8a3576135a0d05ec3c8238c719675b60d3a5 /include/linux/debugobjects.h
parented2d9e1a26cca963ff5ed3b76326d70f7d8201a9 (diff)
downloadlinux-d00c6473b1ee9050cc36d008c6d30bf0d3de0524.tar.xz
bpf: Use prog->jited_len in bpf_prog_ksym_set_addr()
Using prog->jited_len is simpler and more accurate than current estimation (header + header->size). Also, fix missing prog->jited_len with multi function program. This hasn't been a real issue before this. Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220204185742.271030-5-song@kernel.org
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions