I tried to setup sprof (following this http://greg-n-blog.blogspot.com/2010/01/profiling-shared-library-on-linux-using.html) using the below steps. Now my program won't run. What are the steps I need to do to undo the following?
2) export LD_PROFILE_OUTPUT=pwd
3) export LD_PROFILE=libmylib.so
4) rm -f $LD_PROFILE.profile