aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/annotate.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2013-08-07 11:38:46 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-08-07 20:35:31 +0000
commit5b7ba82a75915e739709d0ace4bb559cb280db09 (patch)
treecc42fe77866affa6b83dd0945e260427f88761d8 /tools/perf/ui/browsers/annotate.c
parentperf tests: Add test for reading object code (diff)
downloadkernel-5b7ba82a75915e739709d0ace4bb559cb280db09.tar.gz
kernel-5b7ba82a75915e739709d0ace4bb559cb280db09.zip
perf symbols: Load kernel maps before using
In order to use kernel maps to read object code, those maps must be adjusted to map to the dso file offset. Because lazy-initialization 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 thread__find_addr() to "load" kernel maps before using them. Signed-off-by: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions