Dear all,

I am trying to use valgrind to profile an application running on linux
(RHEL4). The application is multiprocess/multithreaded and also it
loads many modules into it. I was particularly interested in one of
the modules it loads. So i built that module in debug mode (with -g
flag using gcc) and tried to profile it. But i was not able to get the
function names inside those modules when valgrind prints its output.
Instead i get only hex values(addresses) with which i am not able to
figure out anything. When valgrind is trying to load debug info for
the module it says "Cant make anything out of .sbss section". I tried
googling around for this error and did not get a solution :(
Have anybody encountered this before? Or any suggestions to get
function names appear in valgrind output for the module i am
interested in?

I use these options when starting valgrind
valgrind --leak-check=yes --leak-resolution=high --log-file=<logfile>
--trace-children=yes ./appname <args>

Thanks in advance!
Regards
-- Prasanna Ram

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to