Re: [PATCH bpf-next 5/8] libbpf: split initialization and loading of BTF

2019-06-15 Thread Song Liu
On Mon, Jun 10, 2019 at 9:49 PM Andrii Nakryiko wrote: > > Libbpf does sanitization of BTF before loading it into kernel, if kernel > doesn't support some of newer BTF features. This removes some of the > important information from BTF (e.g., DATASEC and VAR description), > which will be used for

[PATCH bpf-next 5/8] libbpf: split initialization and loading of BTF

2019-06-10 Thread Andrii Nakryiko
Libbpf does sanitization of BTF before loading it into kernel, if kernel doesn't support some of newer BTF features. This removes some of the important information from BTF (e.g., DATASEC and VAR description), which will be used for map construction. This patch splits BTF processing into initializa

[RFC PATCH bpf-next 5/8] libbpf: split initialization and loading of BTF

2019-06-10 Thread Andrii Nakryiko
Libbpf does sanitization of BTF before loading it into kernel, if kernel doesn't support some of newer BTF features. This removes some of the important information from BTF (e.g., DATASEC and VAR description), which will be used for map construction. This patch splits BTF processing into initializa

[RFC PATCH bpf-next 5/8] libbpf: split initialization and loading of BTF

2019-05-31 Thread Andrii Nakryiko
Libbpf does sanitization of BTF before loading it into kernel, if kernel doesn't support some of newer BTF features. This removes some of the important information from BTF (e.g., DATASEC and VAR description), which will be used for map construction. This patch splits BTF processing into initializa