perf record: Prepare picking perf_event_mmap_page from multiple evlists
authorWang Nan <wangnan0@huawei.com>
Mon, 27 Jun 2016 10:24:05 +0000 (10:24 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Jun 2016 13:54:54 +0000 (10:54 -0300)
commitee667f947c926eda1b8d6eccd0894bfbed75b6e3
treec053b44aed972bba0f81a92da3f308f73b51e846
parentcb21686b7d37776cfd34793f08d6466ce9091a7d
perf record: Prepare picking perf_event_mmap_page from multiple evlists

Following commits introduce new evlists to record. This patch adjusts
record__pick_pc() and introduces perf_evlist__pick_pc() to read control
page from one specific evlist. record__pick_pc() will be improved to
search control page from multiple evlists.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nilay Vaish <nilayvaish@gmail.com>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1467023052-146749-4-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c