From: Akshat A. <aa...@gm...> - 2006-07-17 20:31:43
|
Thanks Will, that seemed to be the problem. We were using our own non-debug binary RPMs and FC4s debuginfo RPMs. Rolling our own debuginfo RPMs made things work. Cheers, Akshat On 7/17/06, William Cohen <wc...@re...> wrote: > Akshat Aranya wrote: > > Hi, > > > > I'm trying to use oprofile with Red Hat/Fedora's debuginfo packages > > that separate debug symbols for libraries into another file that is > > installed under /usr/lib/debug/usr/lib. In particular, I have a C++ > > application that is reporting large amounts of samples in libstdc++. > > However, oprofile reports no symbols in libstdc++. From what I've > > gathered from the oprofile and Red Hat documentation, oprofile should > > be able to correlate /usr/lib/libstdc++.so with > > /usr/lib/debug/usr/lib/libstdc++.so.debug and I should be able to see > > the symbol breakdown with opreport. Is there something I'm missing? > > Any help would be appreciated. > > > > Thanks, > > Akshat > > Make absolutely sure that you have matching versions of the libstdc++ > and the associated debuginfo. The checks for the debuginfo will just > ignore the debuginfo if the checksums for the packages don't match. They > don't match if one is i386 and the other is i686, or if they are > different versions, or the same versions but from different build systems. > > For example on my system the following should work because of the > versions match: > > $ rpm -qf /usr/lib/libstdc++.so.6 > libstdc++-4.0.2-8.fc4 > > $ rpm -qf /usr/lib/debug/usr/lib/libstdc++.so.6.0.7.debug > gcc-debuginfo-4.0.2-8.fc4 > > -Will > |