Re: [PATCH bpf-next 0/3] rename *_info_cnt to nr_*_info in bpf_prog_info

2018-12-10 Thread Alexei Starovoitov
On 12/10/18 2:14 PM, Yonghong Song wrote: > Before func_info and line_info are added to the kernel, there are several > fields in structure bpf_prog_info specifying the "count" of a user buffer, > e.g., > __u32 nr_jited_ksyms; > __u32 nr_jited_func_lens; > The naming convention h

[PATCH bpf-next 0/3] rename *_info_cnt to nr_*_info in bpf_prog_info

2018-12-10 Thread Yonghong Song
Before func_info and line_info are added to the kernel, there are several fields in structure bpf_prog_info specifying the "count" of a user buffer, e.g., __u32 nr_jited_ksyms; __u32 nr_jited_func_lens; The naming convention has the prefix "nr_". The func_info and line_info support