perf-record & perf-report in root directory: can't find binariesfor symbol resolution

From: Alan Jenkins
Date: Sat Oct 31 2009 - 07:57:09 EST


Hi,

When I ran perf record & report in the root directory, I noticed that
perf couldn't find any binaries. Both addresses and the actual names of
the binaries were printed as raw hex values:

# Overhead Command Shared Object Symbol
# ........ ............... ............. ......
#
14.23% modprobe b777ce85 [.] 0x000000b777ce85
|
|--9.52%-- 0x804cad2
| 0x8049b32


Strace showed that perf report was trying to open ".sbin/modprobe". I
found a one-line fix, which should at least explain my problem:

---------------------------------------------