Re: [PATCH v6 bpf-next 06/11] tracepoint: compute num_args at build time

2018-03-27 Thread Steven Rostedt
On Mon, 26 Mar 2018 19:47:01 -0700 Alexei Starovoitov wrote: > From: Alexei Starovoitov > > compute number of arguments passed into tracepoint > at compile time and store it as part of 'struct tracepoint'. > The number is necessary to check safety of bpf program access that > is coming in subse

[PATCH v6 bpf-next 06/11] tracepoint: compute num_args at build time

2018-03-26 Thread Alexei Starovoitov
From: Alexei Starovoitov compute number of arguments passed into tracepoint at compile time and store it as part of 'struct tracepoint'. The number is necessary to check safety of bpf program access that is coming in subsequent patch. Signed-off-by: Alexei Starovoitov --- include/linux/tracepo