aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2016-06-27 10:24:03 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-06-28 10:54:53 -0300
commitcda57a8c74aa326cbb1a1e2f7d30f8c76983e70c (patch)
treea78956a34d589b5b4196225d371a0234f6f0b870 /tools/perf/scripts
parentf6c12a004c149a7b0ea1332fa715979888dd4695 (diff)
perf record: Move mmap setup block to separate function
Following commits introduce multiple evlists to record. This patch extracts perf_evlist__mmap_ex() processing to a new function, creates record__mmap() and record__mmap_evlist() to wrap perf_evlist__mmap_ex() and its error processing. They will be improvemented to create mmap for all evlists. Signed-off-by: Wang Nan <[email protected]> Cc: He Kuang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Nilay Vaish <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions