aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2018-06-25 14:25:02 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-06-27 11:01:03 +0200
commit22adedd304668f0a2001284ddf225b49e9c05c64 (patch)
tree9b3c268ffc6eedfe91fb434c304f8b932ca46888 /samples/bpf
parentcc0dff6dc3b44e33cd6b935893db66563ef15ba0 (diff)
downloadlinux-stericsson-22adedd304668f0a2001284ddf225b49e9c05c64.tar.gz
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')
0 files changed, 0 insertions, 0 deletions