Re: [PATCH v3 perf,bpf 11/11] perf, bpf: save information about short living bpf programs

2019-02-17 Thread Jiri Olsa
On Fri, Feb 15, 2019 at 01:53:54PM -0800, Song Liu wrote: > To annotate bpf programs in perf, it is necessary to save information in > bpf_prog_info and btf. For short living bpf program, it is necessary to > save these information before it is unloaded. > > This patch saves these information in a

[PATCH v3 perf,bpf 11/11] perf, bpf: save information about short living bpf programs

2019-02-15 Thread Song Liu
To annotate bpf programs in perf, it is necessary to save information in bpf_prog_info and btf. For short living bpf program, it is necessary to save these information before it is unloaded. This patch saves these information in a separate thread. This thread creates its own evlist, that only trac