Re: [PATCH 2/9] perf tools: load kernel maps before using

2013-07-25 Thread Ingo Molnar
* Adrian Hunter wrote: > In order to use kernel maps to read object code, those > maps must be adjusted to map to the dso file offset. > Because lazy-initialzation is used, that is not done s/initialization > until symbols are loaded. However the maps are first > used by thread__find_addr_map

[PATCH 2/9] perf tools: load kernel maps before using

2013-07-25 Thread Adrian Hunter
In order to use kernel maps to read object code, those maps must be adjusted to map to the dso file offset. Because lazy-initialzation is used, that is not done until symbols are loaded. However the maps are first used by thread__find_addr_map() before symbols are loaded. So this patch changes thr