perf record: Use perf_evsel__open
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Jan 2011 16:28:51 +0000 (14:28 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Jan 2011 21:56:29 +0000 (19:56 -0200)
commitdd7927f4f8ee75b032ff15aeef4bda49719a443a
treee839ab6250df6ae192567531d3464c1977ff3e04
parent72cb7013e08dec29631e0447f9496b7bacd3e14b
perf record: Use perf_evsel__open

Now its time to factor out the mmap handling bits into the perf_evsel
class.

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