On 17 Jan 2008, at 04:17, James Walker wrote:
When time profiling a certain app with Shark 4.5 and OS 10.4.11 on a
MacBook Pro, the profile shows only 4 numerical addresses, plus
io_alltraps in the kernel. The numerical addresses show a hint saying
that "Shark was unable to find symbol information for this address
range. Typically this happens because the application was compiled
without symbols or they have been stripped away..." But there
definitely are debug symbols; this debug build is 3 times the size of
the release build. I had originally tried DWARF, but switched to
STABS. I might have some frameworks without symbols, but still I
should see the top level symbols, like say "main", right?
Does the sampling (including the processing of the samples) finish
before the application quits? If not, there's a bug in CHUD 4.5.0 which
causes it to be unable to find any symbol/debug information.
So make sure you stop sampling well before the target application quits.