[PATCH 0/2] tools/perf: Fix debug symbol lookup issues for some OSes
dave.martin at linaro.org
Tue Jul 27 16:44:36 BST 2010
On Ubuntu (and some other OSes) debug symbols for most of the binaries are
split out into separately-installable files under /usr/lib/debug or elsewhere.
perf already supports this setup, but as a side-effect of abbreviating the
prefix of paths beneath the current directory to './' for display purposes,
the paths constructed to search for the separate debug images are incorrect.
As a result, symbols may not be found even if they are available.
The simplest fix seems to be just to remove the cwd abbreviation feature; this
makes all displayed paths absolute in e.g., perf report -v, but otherwise
Dave Martin (2):
tools/perf: Don't abbreviate file paths relative to the cwd
tools/perf: Remove unneeded code for tracking the cwd in perf
tools/perf/util/event.c | 2 +-
tools/perf/util/map.c | 22 +---------------------
tools/perf/util/map.h | 2 +-
tools/perf/util/session.c | 22 +---------------------
4 files changed, 4 insertions(+), 44 deletions(-)
More information about the kernel-team