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

From: Andi Kleen
Date: Sat May 23 2020 - 13:45:13 EST


Anand K Mistry <amistry@xxxxxxxxxx> 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