]> granicus.if.org Git - strace/commit
bpf: add support for *jited_ksyms and *jited_func_lens fields in struct bpf_prog_info
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 12 Mar 2019 11:17:20 +0000 (11:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 12 Mar 2019 11:17:20 +0000 (11:17 +0000)
commitd1f90bcdc7cf95cf442321f18452d0367e80b7d5
treee5c6021acdf7e8cbc7c0c6cbb233cc1447652fef
parent27bd13d3664a6047e9431e01bd13fc04cc5e373b
bpf: add support for *jited_ksyms and *jited_func_lens fields in struct bpf_prog_info

* bpf_attr.h (struct bpf_prog_info_struct): Add nr_jited_ksyms,
nr_jited_func_lens, jited_ksyms, and jited_func_lens fields.
* bpf.c (struct obj_get_info_saved): Likewise.
(print_bpf_prog_info): Decode these fields introduced by Linux commits
v4.18-rc1~114^2~148^2~3^2~6 and v4.18-rc1~114^2~148^2~3^2~2.
* tests/bpf-obj_get_info_by_fd.c (main): Update expected output.
bpf.c
bpf_attr.h
tests/bpf-obj_get_info_by_fd.c