perf evlist: Refactor mmap_pages parsing
authorDavid Ahern <dsahern@gmail.com>
Tue, 12 Nov 2013 14:46:55 +0000 (07:46 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Nov 2013 19:33:22 +0000 (16:33 -0300)
commit33c2dcfdfe7f114cc656bcb4c839f5939d5e60ba
tree6d485107f5eede0d1573f72ff443d286ea3172a9
parent9639837e95db90d056f4683c911717921519320e
perf evlist: Refactor mmap_pages parsing

Logic will be re-used for the out-pages argument for mmap based writes
in perf-record.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1384267617-3446-4-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c