diff options
author | Adrian Hunter <[email protected]> | 2013-10-18 15:29:13 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-10-21 11:19:43 -0300 |
commit | 04e213148c434544e3aa88d227b5375fd375738b (patch) | |
tree | 9a4784400dc5daea668a6c48229159fb672517ae /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c83fa7f2549cb60bc4d429de31096546f659ce6d (diff) |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions