Version 4. I think I have addressed all of Ingo's comments plus a few extra refactorings.
Ingo: updated responses to your comment: 1. out-pages and rounding up to power of 2 - leveraging the same code used for mmap-pages. A follow on patch will do that for both mmap use cases. 2. what happens if a user sets out-pages to zero - the parsing function does not allow it David Ahern (2): perf record: Move existing write_output into helper function perf record: mmap output file - v4 tools/perf/Documentation/perf-record.txt | 5 + tools/perf/builtin-record.c | 162 ++++++++++++++++++++++++++++++- 2 files changed, 166 insertions(+), 1 deletion(-) -- 1.8.3.4 (Apple Git-47) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/