commit | 22adedd304668f0a2001284ddf225b49e9c05c64 | [log] [tgz] |
---|---|---|
author | Toke Høiland-Jørgensen <toke@toke.dk> | Mon Jun 25 14:25:02 2018 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Jun 27 11:01:03 2018 +0200 |
tree | 9b3c268ffc6eedfe91fb434c304f8b932ca46888 | |
parent | cc0dff6dc3b44e33cd6b935893db66563ef15ba0 [diff] |
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>