]> git.karo-electronics.de Git - linux-beck.git/commit
perf record: Prepare reading from multiple evlists in record__mmap_read_all()
authorWang Nan <wangnan0@huawei.com>
Mon, 27 Jun 2016 10:24:04 +0000 (10:24 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Jun 2016 13:54:53 +0000 (10:54 -0300)
commitcb21686b7d37776cfd34793f08d6466ce9091a7d
tree3ce5cce91237d568936cab5403bd0d51b1f925af
parentcda57a8c74aa326cbb1a1e2f7d30f8c76983e70c
perf record: Prepare reading from multiple evlists in record__mmap_read_all()

Following commits introduce new evlists to record. This patch adjusts
record__mmap_read_all() and record__mmap_read(): converting original
record__mmap_read_all() to record__mmap_read_evlist(), read from one
evlist; makes record__mmap_read() reading from specific evlist.
record__mmap_read_all() will be improved to read 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-3-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c