perf: builtin-record: Document and check that mmap_pages must be a power of two.

Now that we automatically point users at it, let's provide them some
guidance so that they hopefully don't just get mysterious EINVAL's
from the kernel.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1324301972-22740-4-git-send-email-nelhage@nelhage.com
Signed-off-by: Nelson Elhage <nelhage@nelhage.com>
[ committer note: Made it work after 50a682c ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Nelson Elhage
2011-12-19 08:39:32 -05:00
committed by Arnaldo Carvalho de Melo
parent 18e6093904
commit 41d0d93349
4 changed files with 17 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ OPTIONS
-m::
--mmap-pages=::
Number of mmap data pages.
Number of mmap data pages. Must be a power of two.
-g::
--call-graph::