diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2017-10-06 10:41:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-06 10:04:35 -0700 |
commit | f4ce0a0116bc90803adac10865f14429313cb2b6 (patch) | |
tree | 7cfb55bafa296fcadaf5c6a88582293ceb8c0c30 /samples/bpf/xdp_monitor_user.c | |
parent | c6a157525be5b6cab48b4c86e7473712e3656c36 (diff) | |
download | talos-obmc-linux-f4ce0a0116bc90803adac10865f14429313cb2b6.tar.gz talos-obmc-linux-f4ce0a0116bc90803adac10865f14429313cb2b6.zip |
samples/bpf: xdp_monitor first 8 bytes are not accessible by bpf
The first 8 bytes of the tracepoint context struct are not accessible
by the bpf code. This is a choice that dates back to the original
inclusion of this code.
See explaination in:
commit 98b5c2c65c29 ("perf, bpf: allow bpf programs attach to tracepoints")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/xdp_monitor_user.c')
0 files changed, 0 insertions, 0 deletions