Files
linux/tools/perf/util
Namhyung Kim ee05d21791 perf machine: Set main kernel end address properly
map_groups__fixup_end() was called to set the end addresses of kernel
and module maps.  But now since machine__create_modules() sets the end
address of modules properly, the only remaining piece is the kernel map.

We can set it with adjacent module's address directly instead of calling
map_groups__fixup_end().  If there's no module after the kernel map, the
end address will be ~0ULL.

Since it also changes the start address of the kernel map, it needs to
re-insert the map to the kmaps in order to keep a correct ordering.  Kim
reported that it caused problems on ARM64.

Reported-by: Kim Phillips <kim.phillips@arm.com>
Tested-by: Kim Phillips <kim.phillips@arm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-team@lge.com
Link: http://lkml.kernel.org/r/20180419235915.GA19067@sejong
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-04-23 10:52:55 -03:00
..
2018-03-16 13:52:37 -03:00
2018-04-19 12:29:41 -03:00
2018-04-19 12:29:41 -03:00
2018-01-23 09:49:28 -03:00
2018-03-16 13:52:09 -03:00
2016-10-24 11:07:39 -03:00
2018-04-02 07:57:37 -03:00
2018-03-16 13:52:37 -03:00
2018-03-16 13:52:37 -03:00
2018-03-05 11:52:41 -03:00
2017-07-18 23:14:08 -03:00
2018-04-02 07:57:37 -03:00
2018-04-02 07:57:37 -03:00
2016-08-23 15:37:33 -03:00