summaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp_sample_pkts_user.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen2018-06-25 14:25:02 +0200
committerDaniel Borkmann2018-06-27 11:01:03 +0200
commit22adedd304668f0a2001284ddf225b49e9c05c64 (patch)
tree9b3c268ffc6eedfe91fb434c304f8b932ca46888 /samples/bpf/xdp_sample_pkts_user.c
parentnfp: bpf: allow source ptr type be map ptr in memcpy optimization (diff)
downloadkernel-qcow2-linux-22adedd304668f0a2001284ddf225b49e9c05c64.tar.gz
kernel-qcow2-linux-22adedd304668f0a2001284ddf225b49e9c05c64.tar.xz
kernel-qcow2-linux-22adedd304668f0a2001284ddf225b49e9c05c64.zip
trace_helpers.c: Add helpers to poll multiple perf FDs for events
Add two new helper functions to trace_helpers that supports polling multiple perf file descriptors for events. These are used to the XDP perf_event_output example, which needs to work with one perf fd per CPU. Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdp_sample_pkts_user.c')
0 files changed, 0 insertions, 0 deletions