Re: [PATCH bpf-next] bpf: remove tracepoints from bpf core

2018-04-30 Thread Daniel Borkmann
On 04/29/2018 06:37 AM, David Miller wrote: > From: Alexei Starovoitov > Date: Sat, 28 Apr 2018 19:56:37 -0700 > >> tracepoints to bpf core were added as a way to provide introspection >> to bpf programs and maps, but after some time it became clear that >> this approach is inadequate, so prog_id

Re: [PATCH bpf-next] bpf: remove tracepoints from bpf core

2018-04-28 Thread David Miller
From: Alexei Starovoitov Date: Sat, 28 Apr 2018 19:56:37 -0700 > tracepoints to bpf core were added as a way to provide introspection > to bpf programs and maps, but after some time it became clear that > this approach is inadequate, so prog_id, map_id and corresponding > get_next_id, get_fd_by_i

[PATCH bpf-next] bpf: remove tracepoints from bpf core

2018-04-28 Thread Alexei Starovoitov
tracepoints to bpf core were added as a way to provide introspection to bpf programs and maps, but after some time it became clear that this approach is inadequate, so prog_id, map_id and corresponding get_next_id, get_fd_by_id, get_info_by_fd, prog_query APIs were introduced and fully adopted by b