Re: [RFC perf,bpf 4/5] perf util: introduce bpf_prog_info_event
From: Alexei Starovoitov
Date: Tue Nov 06 2018 - 16:13:31 EST
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.