aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2013-10-18 12:29:13 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-10-21 14:19:43 +0000
commit04e213148c434544e3aa88d227b5375fd375738b (patch)
tree9a4784400dc5daea668a6c48229159fb672517ae /tools/perf/builtin-script.c
parentperf evlist: Fix perf_evlist__mmap comments (diff)
downloadkernel-04e213148c434544e3aa88d227b5375fd375738b.tar.gz
kernel-04e213148c434544e3aa88d227b5375fd375738b.zip
perf evlist: Factor out duplicated mmap code
The same code is used in perf_evlist__mmap_per_cpu() and perf_evlist__mmap_per_thread(). Factor it out into a separate function perf_evlist__mmap_per_evsel(). Signed-off-by: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions