Messages in this thread |  | | From | Alexei Starovoitov <> | Subject | Re: [RFC perf,bpf 4/5] perf util: introduce bpf_prog_info_event | Date | Tue, 6 Nov 2018 21:11:19 +0000 |
| |
On 11/6/18 12:52 PM, Song Liu wrote: > + /* fill in fake symbol name for now, add real name after BTF */ > + if (info.nr_jited_func_lens == 1 && info.name) { /* only main prog */ > + size_t l; > + > + assert(info.nr_jited_ksyms == 1); > + l = snprintf(ptr, KSYM_NAME_LEN, "bpf_prog_%s", info.name);
please include the prog tag here. Just like kernel kallsyms do. Other than this small nit the patch set looks great to me.
|  |