diff options
author | Jesper Dangaard Brouer <[email protected]> | 2017-10-06 10:41:46 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-10-06 10:04:35 -0700 |
commit | 280b058d4801cb431477dc101a776e4b24995f2f (patch) | |
tree | 993a220ce48d529b5b3cd71a4af56429eaf4ef1b /lib/dynamic_debug.c | |
parent | f4ce0a0116bc90803adac10865f14429313cb2b6 (diff) |
samples/bpf: xdp_monitor also record xdp_exception tracepoint
Also monitor the tracepoint xdp_exception. This tracepoint is usually
invoked by the drivers. Programs themselves can activate this by
returning XDP_ABORTED, which will drop the packet but also trigger the
tracepoint. This is useful for distinguishing intentional (XDP_DROP)
vs. ebpf-program error cases that cased a drop (XDP_ABORTED).
Drivers also use this tracepoint for reporting on XDP actions that are
unknown to the specific driver. This can help the user to detect if a
driver e.g. doesn't implement XDP_REDIRECT yet.
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions