diff options
author | Dave Martin <dave.martin@linaro.org> | 2010-07-30 09:50:09 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-07-30 09:54:49 -0300 |
commit | 6da80ce8c43ddda153208cbb46b75290cf566fac (patch) | |
tree | 6a242c17ccbfacb237c4552a22593bd67b786b1b /scripts/Makefile.lib | |
parent | 8b1389ef93b36621c6acdeb623bd85aee3c405c9 (diff) |
perf symbols: Improve debug image search when loading symbols
Changes:
* Simplification of the main search loop on dso__load()
* Replace the search with a 2-pass search:
* First, try to find an image with a proper symtab.
* Second, repeat the search, accepting dynsym.
A second scan should only ever happen when needed debug images are
missing from the buildid cache or stale, i.e., when the cache is out of
sync.
Currently, the second scan also happens when using separated debug
images, since the caching logic doesn't currently know how to cache
those. Improvements to the cache behaviour ought to solve that.
Signed-off-by: Dave Martin <dave.martin@linaro.org>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions