diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-09 12:16:26 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-28 13:34:50 +0100 |
commit | 01c2d99bcf6fc7f6ce3fe3d0fb38b124e1f127fc (patch) | |
tree | a82dbbcdd444ae999ab2985a81c9d31b81497e36 /tools/perf/perf.h | |
parent | perf evlist: Handle default value for 'pages' on mmap method (diff) | |
download | linux-01c2d99bcf6fc7f6ce3fe3d0fb38b124e1f127fc.tar.xz linux-01c2d99bcf6fc7f6ce3fe3d0fb38b124e1f127fc.zip |
perf record: Move mmap_pages to perf_record_opts
Tools being developed will need this to allow the user to override this
value.
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-zydc1yhxfm0z35fuy95bsn1l@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 32ee6ca8eabd..13c42f34e8b3 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -200,6 +200,7 @@ struct perf_record_opts { bool sample_id_all_avail; bool system_wide; unsigned int freq; + unsigned int mmap_pages; unsigned int user_freq; u64 default_interval; u64 user_interval; |