Re: [PATCH bpf-next v1 04/19] bpf: allow loading of a bpf_iter program

2020-04-28 Thread Yonghong Song
On 4/28/20 5:54 PM, Martin KaFai Lau wrote: On Mon, Apr 27, 2020 at 01:12:39PM -0700, Yonghong Song wrote: A bpf_iter program is a tracing program with attach type BPF_TRACE_ITER. The load attribute attach_btf_id is used by the verifier against a particular kernel function, e.g., __bpf_ite

Re: [PATCH bpf-next v1 04/19] bpf: allow loading of a bpf_iter program

2020-04-28 Thread Martin KaFai Lau
On Mon, Apr 27, 2020 at 01:12:39PM -0700, Yonghong Song wrote: > A bpf_iter program is a tracing program with attach type > BPF_TRACE_ITER. The load attribute > attach_btf_id > is used by the verifier against a particular kernel function, > e.g., __bpf_iter__bpf_map in our previous bpf_map iterat