Re: [External] Re: [PATCH bpf-next v2 8/9] libbpf: add support for the multi-link of tracing

2024-03-12 Thread 梦龙董
On Wed, Mar 13, 2024 at 12:12 AM Alexei Starovoitov wrote: > > On Mon, Mar 11, 2024 at 7:44 PM 梦龙董 wrote: > > > > On Tue, Mar 12, 2024 at 9:56 AM Alexei Starovoitov > > wrote: > > > > > > On Mon, Mar 11, 2024 at 2:35 AM Menglong Dong > > > wrote: [...] > > > Pls use glob_match the way

Re: [External] Re: [PATCH bpf-next v2 8/9] libbpf: add support for the multi-link of tracing

2024-03-12 Thread Alexei Starovoitov
On Mon, Mar 11, 2024 at 7:44 PM 梦龙董 wrote: > > On Tue, Mar 12, 2024 at 9:56 AM Alexei Starovoitov > wrote: > > > > On Mon, Mar 11, 2024 at 2:35 AM Menglong Dong > > wrote: > > > > > > > > > - err = libbpf_find_attach_btf_id(prog, attach_name, > > > _obj_fd, _type_id); > > > +

Re: [External] Re: [PATCH bpf-next v2 8/9] libbpf: add support for the multi-link of tracing

2024-03-11 Thread 梦龙董
On Tue, Mar 12, 2024 at 9:56 AM Alexei Starovoitov wrote: > > On Mon, Mar 11, 2024 at 2:35 AM Menglong Dong > wrote: > > > > > > - err = libbpf_find_attach_btf_id(prog, attach_name, > > _obj_fd, _type_id); > > + name_end = strchr(attach_name, ','); > > +

Re: [External] Re: [PATCH bpf-next v2 8/9] libbpf: add support for the multi-link of tracing

2024-03-11 Thread 梦龙董
On Mon, Mar 11, 2024 at 11:29 PM Quentin Monnet wrote: > > 2024-03-11 09:35 UTC+ ~ Menglong Dong > > Add support for the attach types of: > > > > BPF_TRACE_FENTRY_MULTI > > BPF_TRACE_FEXIT_MULTI > > BPF_MODIFY_RETURN_MULTI > > > > Signed-off-by: Menglong Dong > > --- > >