perf machine: Generalize machine__set_kernel_mmap()
authorJiri Olsa <jolsa@kernel.org>
Thu, 15 Feb 2018 12:26:31 +0000 (13:26 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 17:25:57 +0000 (14:25 -0300)
commit05db6ff73d805ecc70947c9eee2ed9948d0be52b
tree15ade109d4dedcd4320a073a95d22a262d9d5725
parent8c7f1bb37b29f140e08175132f3abb4d5ad229fc
perf machine: Generalize machine__set_kernel_mmap()

So it could be called without event object, just with start and end
values. It will be used in following patch.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180215122635.24029-6-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c