]> git.karo-electronics.de Git - linux-beck.git/commit
perf evlist: Handle default value for 'pages' on mmap method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Nov 2011 11:10:47 +0000 (09:10 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:26:43 +0000 (10:26 -0200)
commit50a682ce875f91e04c81ae5680535aba5a770bad
treed5a6a0c1cfc3b51f55ece86fc02a459c29f3eab2
parent35b9d88ecd8c5fb720ba0dd325262f356d0b03e7
perf evlist: Handle default value for 'pages' on mmap method

Every tool that calls this and allows the user to override the value
needs this logic.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-lwscxpg57xfzahz5dmdfp9uz@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h