summaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp_monitor_user.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2017-10-06 10:41:41 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-06 10:04:35 -0700
commitf4ce0a0116bc90803adac10865f14429313cb2b6 (patch)
tree7cfb55bafa296fcadaf5c6a88582293ceb8c0c30 /samples/bpf/xdp_monitor_user.c
parentc6a157525be5b6cab48b4c86e7473712e3656c36 (diff)
downloadtalos-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
OpenPOWER on IntegriCloud