# Re: \[PATCH v8 bpf-next 6/9\] bpf: introduce BPF\_RAW\_TRACEPOINT

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2018-03-28 19:34:38 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2018/03/11086811
- Thread: https://ratatoskr.run/netdev/2018/03/11086795/t.md

```text
On Wed, 28 Mar 2018 12:05:37 -0700
Alexei Starovoitov [ref] wrote:

> +++ b/include/linux/tracepoint-defs.h
> @@ -35,4 +35,10 @@ struct tracepoint {
>  	struct tracepoint_func __rcu *funcs;
>  };
>  
> +struct bpf_raw_event_map {
> +	struct tracepoint	*tp;
> +	void			*bpf_func;
> +	u32			num_args;
> +} __aligned(32);
> +

If you prefer v7, I'm fine with that. For cache issues, I can pull out
the funcs from the tracepoint structure like I posted.

Mathieu, your thoughts?

-- Steve
```
