[PATCH bpf-next] tools/bpf: check precise {func,line,jited_line}_info_rec_size in test_btf

2018-12-17 Thread Yonghong Song
Current btf func_info, line_info and jited_line are designed to be extensible. The record sizes for {func,line}_info are passed to kernel, and the record sizes for {func,line,jited_line}_info are returned to userspace during bpf_prog_info query. In bpf selftests test_btf.c, when testing whether ke

Re: [PATCH bpf-next] tools/bpf: check precise {func,line,jited_line}_info_rec_size in test_btf

2018-12-18 Thread Daniel Borkmann
On 12/18/2018 02:31 AM, Yonghong Song wrote: > Current btf func_info, line_info and jited_line are designed to be > extensible. The record sizes for {func,line}_info are passed to kernel, > and the record sizes for {func,line,jited_line}_info are returned to > userspace during bpf_prog_info query.