perf record: Use perf_evlist__mmap
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Jan 2011 17:50:51 +0000 (15:50 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Jan 2011 21:56:30 +0000 (19:56 -0200)
commit0a27d7f9f417c0305f7efa70631764a53c7af219
tree60d126b9732e93596eaa4a923de785b351af5de7
parent70db7533caef02350ec8d6852e589491bca3a951
perf record: Use perf_evlist__mmap

There is more stuff that can go to the perf_ev{sel,list} layer, like
detecting if sample_id_all is available, etc, but lets try using this in
'perf test' first.

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