diff options
| author | Adrian Hunter <[email protected]> | 2013-10-18 12:29:13 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-10-21 14:19:43 +0000 |
| commit | 04e213148c434544e3aa88d227b5375fd375738b (patch) | |
| tree | 9a4784400dc5daea668a6c48229159fb672517ae /tools/perf/builtin-script.c | |
| parent | perf evlist: Fix perf_evlist__mmap comments (diff) | |
| download | kernel-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
