# Re: \[PATCH v7 bpf-next 06/10\] tracepoint: compute num\_args at build time

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2018-03-28 18:10:48 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2018/03/11086785
- Thread: https://ratatoskr.run/netdev/2018/03/11086671/t.md

```text
On Wed, 28 Mar 2018 11:03:24 -0700
Alexei Starovoitov [ref] wrote:

> I can live with this overhead if Mathieu insists,
> but I prefer to keep it in 'struct tracepoint'.
> 
> Thoughts?

I'm fine with keeping it as is. We could probably use it for future
enhancements in perf and ftrace.

Perhaps, we should just add a:

#ifdef CONFIG_BPF_EVENTS

Around the use cases of num_args.

-- Steve
```
