Re: [PATCH v3] perf record: Use an eventfd to wakeup when done

Andi Kleen
2020-05-23T17:45:10Z

Anand K Mistry <amistry@google.com> writes:
> }
>
> + done_fd = eventfd(0, EFD_NONBLOCK);

This will make perf depend on a recent glibc or other library
that implements eventfd. Wouldn't surprise me if some kind
of build time check is needed for this to pass all of Arnaldo's
built tests.

-Andi