[PATCH -tip v2 5/8] perf-probe: Retry to find given address from offline dwarf

2014-01-29 Thread Masami Hiramatsu
Retry to find the given address from offline dwarfs too. On the KASLR enabled kernel, the kernel text section is loaded with random offset, and debuginfo__new_online_kernel tries to map the debuginfo with that offset. However, perf's map object tries to make a non-randomized ummapped address.

[PATCH -tip v2 5/8] perf-probe: Retry to find given address from offline dwarf

2014-01-29 Thread Masami Hiramatsu
Retry to find the given address from offline dwarfs too. On the KASLR enabled kernel, the kernel text section is loaded with random offset, and debuginfo__new_online_kernel tries to map the debuginfo with that offset. However, perf's map object tries to make a non-randomized ummapped address.