perf record: Use struct perf_mmap and helpers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Jan 2011 19:07:28 +0000 (17:07 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Jan 2011 21:56:29 +0000 (19:56 -0200)
commit744bd8aa3c8b43447f689a27872fa95e700b8a4f
treee43370a72b1faca5ca90e9049d95b833f895ad4a
parent70082dd92c4b288bd723a77897e2b555f0e63113
perf record: Use struct perf_mmap and helpers

Paving the way to using perf_evsel->mmap, do this to reduce the patch
noise in the next ones.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c