# Re: \[PATCH v6 bpf-next 08/11\] bpf: introduce BPF\_RAW\_TRACEPOINT

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2018-03-28 14:06:57 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2018/03/11086749
- Thread: https://ratatoskr.run/netdev/2018/03/11086408/t.md

```text
On Tue, 27 Mar 2018 17:51:55 -0700
Alexei Starovoitov [ref] wrote:

> Turned out it was in init.data section and got poisoned.
> this fixes it:
> @@ -258,6 +258,7 @@
>          LIKELY_PROFILE()                                                \
>          BRANCH_PROFILE()                                                \
>          TRACE_PRINTKS()                                                 \
> +       BPF_RAW_TP()                                                    \
>          TRACEPOINT_STR()
> 
>   /*
> @@ -585,7 +586,6 @@
>          *(.init.rodata)                                                 \
>          FTRACE_EVENTS()                                                 \
>          TRACE_SYSCALLS()                                                \
> -       BPF_RAW_TP()                                                    \
>          KPROBE_BLACKLIST()                                              \
>          ERROR_INJECT_WHITELIST()                                        \
>          MEM_DISCARD(init.rodata)                                        \
> 
> and it works :)
> I will clean few other nits I found while debugging and respin.

Getting it properly working was an exercise left to the reader ;-)

Sorry about that, I did a bit of copy and paste to get it working, and
copied from code that did things a bit differently, so I massaged it by
hand, and doing it quickly as I had other things to work on.

-- Steve
```
