Re: [PATCH bpf-next 3/5] bpf: introduce BPF_RAW_TRACEPOINT

2018-03-05 Thread Alexei Starovoitov
On 3/5/18 3:56 PM, Daniel Borkmann wrote: On 03/01/2018 05:19 AM, Alexei Starovoitov wrote: Introduce BPF_PROG_TYPE_RAW_TRACEPOINT bpf program type to access kernel internal arguments of the tracepoints in their raw form. From bpf program point of view the access to the arguments look like:

Re: [PATCH bpf-next 3/5] bpf: introduce BPF_RAW_TRACEPOINT

2018-03-05 Thread Daniel Borkmann
On 03/01/2018 05:19 AM, Alexei Starovoitov wrote: > Introduce BPF_PROG_TYPE_RAW_TRACEPOINT bpf program type to access > kernel internal arguments of the tracepoints in their raw form. > > From bpf program point of view the access to the arguments look like: > struct bpf_raw_tracepoint_args { >

[PATCH bpf-next 3/5] bpf: introduce BPF_RAW_TRACEPOINT

2018-02-28 Thread Alexei Starovoitov
Introduce BPF_PROG_TYPE_RAW_TRACEPOINT bpf program type to access kernel internal arguments of the tracepoints in their raw form. >From bpf program point of view the access to the arguments look like: struct bpf_raw_tracepoint_args { __u64 args[0]; }; int bpf_prog(struct