Re: [PATCH v3 bpf-next 00/11] bpf: revolutionize bpf tracing

2019-10-17 Thread Daniel Borkmann
On Tue, Oct 15, 2019 at 08:24:54PM -0700, Alexei Starovoitov wrote: > v2->v3: > - while trying to adopt btf-based tracing in production service realized > that disabling bpf_probe_read() was premature. The real tracing program > needs to see much more than this type safe tracking can provide. >

Re: [PATCH v3 bpf-next 00/11] bpf: revolutionize bpf tracing

2019-10-16 Thread Martin Lau
On Tue, Oct 15, 2019 at 08:24:54PM -0700, Alexei Starovoitov wrote: > The end result is safer and faster bpf tracing. > Safer - because type safe direct load can be used most of the time > instead of bpf_probe_read(). > Faster - because direct loads are used to walk kernel data structures > instead

[PATCH v3 bpf-next 00/11] bpf: revolutionize bpf tracing

2019-10-15 Thread Alexei Starovoitov
v2->v3: - while trying to adopt btf-based tracing in production service realized that disabling bpf_probe_read() was premature. The real tracing program needs to see much more than this type safe tracking can provide. With these patches the verifier will be able to see that skb->data is a p