summaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/tracing_path.c
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2022-02-04 10:57:37 -0800
committerAlexei Starovoitov <ast@kernel.org>2022-02-07 18:13:01 -0800
commitd00c6473b1ee9050cc36d008c6d30bf0d3de0524 (patch)
tree493b8a3576135a0d05ec3c8238c719675b60d3a5 /tools/lib/api/fs/tracing_path.c
parented2d9e1a26cca963ff5ed3b76326d70f7d8201a9 (diff)
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 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions