On Wed, 06 Jun 2018 14:43:39 +0200, Toke Høiland-Jørgensen wrote: > 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. > > Signed-off-by: Toke Høiland-Jørgensen <t...@toke.dk>
malloc() + memset(0) could have been replaced with calloc, but otherwise looks good.