[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131111145908.GC27198@ghostprotocols.net>
Date: Mon, 11 Nov 2013 11:59:08 -0300
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: Ingo Molnar <mingo@...nel.org>
Cc: David Ahern <dsahern@...il.com>, linux-kernel@...r.kernel.org,
Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH] perf tool: Round mmap pages to power 2
Em Mon, Nov 11, 2013 at 12:27:54PM +0100, Ingo Molnar escreveu:
> * David Ahern <dsahern@...il.com> wrote:
>
> > Currently perf requires the -m / --mmap_pages option to be a power of 2.
> > To be more user friendly perf should automatically round this up to the
> > next power of 2.
> >
> > Currently:
> > $ perf record -m 3 -a -- sleep 1
> > --mmap_pages/-m value must be a power of two.sleep: Terminated
> >
> > With patch:
> > $ perf record -m 3 -a -- sleep 1
> > rounding mmap pages size to 16384 (4 pages)
>
> Please add 'bytes'.
Ok, waiting for v2 with this and Adrian's concerns addressed.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists