|
From: Prasanna R. V. <vp...@gm...> - 2009-08-11 15:14:13
|
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 |