From: Ryszard J. <rys...@ce...> - 2006-03-17 17:54:54
|
Thank you for your quick reply. > One thing that may help in this situation is to arrange for the libraries > to be loaded at startup, which should be possible by including the .so of > interest in the LD_PRELOAD environment variable before you do your run. > That should cause the library to be included earlier on in the process and > then picked up when the profiling buffers are allocated. PerfSuite should > preserve existing LD_PRELOAD settings that are in effect when psrun starts > the measurement. This really works with my simple application. I had set up LD_PRELOAD variable and then I run the psrun with my application (with dynamic loading of libraries). Unfortunately it does not work with a huge simulations from Atlas, but I think that the idea of using LD_PRELOAD with the dynamic loading could help very much. Have a nice weekend, Ryszard. |