[PATCH 19/22] perf record: Enable asynchronous trace writing

2018-11-30 Thread Arnaldo Carvalho de Melo
From: Alexey Budankov The trace file offset is read once before mmaps iterating loop and written back after all performance data is enqueued for aio writing. The trace file offset is incremented linearly after every successful aio write operation. record__aio_sync() blocks till completion of

[PATCH 19/22] perf record: Enable asynchronous trace writing

2018-11-30 Thread Arnaldo Carvalho de Melo
From: Alexey Budankov The trace file offset is read once before mmaps iterating loop and written back after all performance data is enqueued for aio writing. The trace file offset is incremented linearly after every successful aio write operation. record__aio_sync() blocks till completion of