perf mmap: Move perf_mmap and methods to separate mmap.[ch] files
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 1695849735752d2ace22d8c424ba579e33df691c Gitweb: https://git.kernel.org/tip/1695849735752d2ace22d8c424ba579e33df691c Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 6 Oct 2017 10:31:47 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 23 Oct 2017 11:20:53 -0300
perf mmap: Move perf_mmap and methods to separate mmap.[ch] files
To better organize the sources, and we may end up even using it directly, without evlists and evsels.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/Build | 1 + tools/perf/util/evlist.c | 248 ------------------------------------ tools/perf/util/evlist.h | 76 +---------- tools/perf/util/mmap.c | 252 +++++++++++++++++++++++++++++++++++++ tools/perf/util/mmap.h | 94 ++++++++++++++ tools/perf/util/python-ext-sources | 1 + 6 files changed, 349 insertions(+), 323 deletions(-)
tools/perf/util/Build +1 -0
@@ -13,6 +13,7 @@ libperf-y += find_bit.o libperf-y += kallsyms.o libperf-y += levenshtein.o libperf-y += llvm-utils.o +libperf-y += mmap.o libperf-y += memswap.o libperf-y += parse-events.o libperf-y += perf_regs.o
tools/perf/util/evlist.c +0 -248
282 lines not on this page · raw message
tools/perf/util/evlist.h +1 -75
101 lines not on this page · raw message
tools/perf/util/mmap.c new file +252 -0
252 lines not on this page · raw message
tools/perf/util/mmap.h new file +94 -0
94 lines not on this page · raw message
tools/perf/util/python-ext-sources +1 -0
@@ -10,6 +10,7 @@ util/ctype.c util/evlist.c util/evsel.c util/cpumap.c +util/mmap.c util/namespaces.c ../lib/bitmap.c ../lib/find_bit.c