Re: [PATCH 3/9] bpf: Add bpfwl tool to construct bpf whitelists

2020-05-15 Thread Jiri Olsa
On Thu, May 14, 2020 at 03:20:19PM -0700, Andrii Nakryiko wrote: > On Wed, May 6, 2020 at 6:30 AM Jiri Olsa wrote: > > > > This tool takes vmlinux object and whitelist directory on input > > and produces C source object with BPF whitelist data. > > > > The vmlinux object needs to have a BTF inform

Re: [PATCH 3/9] bpf: Add bpfwl tool to construct bpf whitelists

2020-05-14 Thread Andrii Nakryiko
On Wed, May 6, 2020 at 6:30 AM Jiri Olsa wrote: > > This tool takes vmlinux object and whitelist directory on input > and produces C source object with BPF whitelist data. > > The vmlinux object needs to have a BTF information compiled in. > > The whitelist directory is expected to contain files w

[PATCH 3/9] bpf: Add bpfwl tool to construct bpf whitelists

2020-05-06 Thread Jiri Olsa
This tool takes vmlinux object and whitelist directory on input and produces C source object with BPF whitelist data. The vmlinux object needs to have a BTF information compiled in. The whitelist directory is expected to contain files with helper names, where each file contains list of functions/